Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00251/0.00251, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002425/0.002425, allocations: 281.4 kB / 309.8 MB, free: 3.461 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.041/1.041, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002824/0.002824, allocations: 100.2 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.5013, allocations: 95.34 MB / 0.8278 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002179/0.5035, allocations: 1.495 MB / 0.8292 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003185/0.5038, allocations: 150.5 kB / 0.8294 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.5039, allocations: 0 / 0.8294 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.5039, allocations: 8.062 kB / 0.8294 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.504, allocations: 3.938 kB / 0.8294 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.5042, allocations: 29.77 kB / 0.8294 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.431e-05/0.5042, allocations: 41.86 kB / 0.8295 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.5043, allocations: 22.73 kB / 0.8295 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.613e-05/0.5044, allocations: 17.88 kB / 0.8295 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.5044, allocations: 21.58 kB / 0.8295 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.5044, allocations: 5.25 kB / 0.8295 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.5045, allocations: 31.42 kB / 0.8296 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.5045, allocations: 8.031 kB / 0.8296 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.5045, allocations: 27.31 kB / 0.8296 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.5047, allocations: 56.88 kB / 0.8297 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5047, allocations: 0.6562 kB / 0.8297 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5047, allocations: 0 / 0.8297 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.5047, allocations: 4 kB / 0.8297 GB, free: 1.785 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003512/0.505, allocations: 365 kB / 0.83 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.5051, allocations: 11.06 kB / 0.83 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.874e-05/0.5051, allocations: 192 / 0.83 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.888e-05/0.5051, allocations: 38.17 kB / 0.8301 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.5061, allocations: 218.2 kB / 0.8303 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.997e-05/0.5062, allocations: 172.2 kB / 0.8304 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5062, allocations: 0.9844 kB / 0.8304 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.5062, allocations: 2.625 kB / 0.8304 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.5068, allocations: 195.4 kB / 0.8306 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.5068, allocations: 4 kB / 0.8306 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5068, allocations: 3.094 kB / 0.8306 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.5068, allocations: 0 / 0.8306 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.5076, allocations: 278.5 kB / 0.8309 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.5084, allocations: 444.3 kB / 0.8313 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.5095, allocations: 281.8 kB / 0.8316 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.5099, allocations: 98.55 kB / 0.8317 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.5099, allocations: 0.7031 kB / 0.8317 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.5099, allocations: 39.69 kB / 0.8317 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5099, allocations: 0 / 0.8317 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.001141/0.5111, allocations: 307.5 kB / 0.832 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.5111, allocations: 56.11 kB / 0.8321 GB, free: 464 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.5112, allocations: 118.8 kB / 0.8322 GB, free: 356 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.5112, allocations: 29.7 kB / 0.8322 GB, free: 320 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.573e-05/0.5112, allocations: 92 kB / 0.8323 GB, free: 228 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.5112, allocations: 9.781 kB / 0.8323 GB, free: 220 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.5113, allocations: 16.66 kB / 0.8323 GB, free: 204 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5114, allocations: 326.1 kB / 0.8326 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.5117, allocations: 91.77 kB / 0.8327 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.5121, allocations: 99.67 kB / 0.8328 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006688/0.5127, allocations: 179.3 kB / 0.833 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5127, allocations: 3.938 kB / 0.833 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007427/0.5135, allocations: 210.8 kB / 0.8332 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5135, allocations: 8.703 kB / 0.8332 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.5135, allocations: 0 / 0.8332 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5135, allocations: 0 / 0.8332 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.5138, allocations: 33.03 kB / 0.8332 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5138, allocations: 0 / 0.8332 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.514, allocations: 40.91 kB / 0.8333 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.514, allocations: 4.734 kB / 0.8333 GB, free: 15.73 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.5141, allocations: 113.6 kB / 0.8334 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.5141, allocations: 6.562 kB / 0.8334 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.5142, allocations: 8.062 kB / 0.8334 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.5142, allocations: 0 / 0.8334 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.5142, allocations: 0 / 0.8334 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5142, allocations: 3.203 kB / 0.8334 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.5144, allocations: 223.5 kB / 0.8336 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5144, allocations: 0 / 0.8336 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.5147, allocations: 38.7 kB / 0.8336 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5147, allocations: 0.6094 kB / 0.8336 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.5147, allocations: 0.75 kB / 0.8336 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5147, allocations: 0 / 0.8336 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5147, allocations: 0.7031 kB / 0.8336 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008137/0.5155, allocations: 315.2 kB / 0.8339 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.5155, allocations: 84.84 kB / 0.834 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.5156, allocations: 4.375 kB / 0.834 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.5158, allocations: 31.05 kB / 0.8341 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.5158, allocations: 4.641 kB / 0.8341 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.5158, allocations: 0.5625 kB / 0.8341 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.435e-05/0.5159, allocations: 101.1 kB / 0.8342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5159, allocations: 0 / 0.8342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002312/0.5161, allocations: 20.22 kB / 0.8342 GB, free: 15.01 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.5173, allocations: 0.8315 MB / 0.835 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000804/0.5181, allocations: 197.5 kB / 0.8352 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5181, allocations: 0 / 0.8352 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003796/0.5185, allocations: 106.5 kB / 0.8353 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.5187, allocations: 7.047 kB / 0.8353 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.5223, allocations: 1.835 MB / 0.8371 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.5226, allocations: 0.6939 MB / 0.8378 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.427e-05/0.5227, allocations: 22.28 kB / 0.8378 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.5227, allocations: 18.56 kB / 0.8378 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.5227, allocations: 0 / 0.8378 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.5399, allocations: 2.01 MB / 0.8398 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/8.823, allocations: 17.45 kB / 0.8398 GB, free: 11.83 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.84066546196118] Failed to read output from testmodel.py, exit status != 0: 8.946817845047917 8.969612908 8.460916192000001 Calling exit ...