Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.001274/0.001274, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001403/0.001403, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.781 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.00258/0.00258, allocations: 291 kB / 312.7 MB, free: 2.582 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.249/1.249, allocations: 180.6 MB / 0.5369 GB, free: 14.45 MB / 382.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.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",fmuType="me",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.002881/0.002881, allocations: 103.8 kB / 0.7395 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1778, allocations: 95.38 MB / 0.8327 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.00282/0.1806, allocations: 1.467 MB / 0.8341 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002931/0.1809, allocations: 84.59 kB / 0.8342 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.1809, allocations: 4 kB / 0.8342 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.181, allocations: 3.938 kB / 0.8342 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.181, allocations: 3.938 kB / 0.8342 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.1812, allocations: 15.98 kB / 0.8342 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.39e-05/0.1813, allocations: 31.91 kB / 0.8342 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.1814, allocations: 0 / 0.8342 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.1814, allocations: 15.92 kB / 0.8342 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.1815, allocations: 11.94 kB / 0.8342 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1815, allocations: 4 kB / 0.8343 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.134e-05/0.1816, allocations: 15.98 kB / 0.8343 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.1816, allocations: 7.984 kB / 0.8343 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.1816, allocations: 7.938 kB / 0.8343 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.1817, allocations: 36.11 kB / 0.8343 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.1817, allocations: 3.984 kB / 0.8343 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1817, allocations: 0 / 0.8343 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.1817, allocations: 0 / 0.8343 GB, free: 6.551 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004418/0.1822, allocations: 270.2 kB / 0.8346 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.1822, allocations: 13.34 kB / 0.8346 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.1823, allocations: 38.75 kB / 0.8346 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.1824, allocations: 8.922 kB / 0.8346 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1825, allocations: 118.4 kB / 0.8347 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.1826, allocations: 384 / 0.8347 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.1826, allocations: 4.375 kB / 0.8348 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.1828, allocations: 58.22 kB / 0.8348 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1828, allocations: 3.938 kB / 0.8348 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1828, allocations: 0 / 0.8348 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1828, allocations: 4 kB / 0.8348 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.183, allocations: 47.95 kB / 0.8349 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.1834, allocations: 224 kB / 0.8351 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1836, allocations: 54.42 kB / 0.8351 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1837, allocations: 36.84 kB / 0.8352 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1837, allocations: 3.984 kB / 0.8352 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1838, allocations: 34.56 kB / 0.8352 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1838, allocations: 0 / 0.8352 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004338/0.1842, allocations: 97.62 kB / 0.8353 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1842, allocations: 55.34 kB / 0.8353 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1843, allocations: 105.8 kB / 0.8354 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1844, allocations: 29.83 kB / 0.8355 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.1844, allocations: 92.08 kB / 0.8356 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.1844, allocations: 7.891 kB / 0.8356 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.1845, allocations: 13.72 kB / 0.8356 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1846, allocations: 314.8 kB / 0.8359 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.1847, allocations: 23.97 kB / 0.8359 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.494e-05/0.1848, allocations: 23.97 kB / 0.8359 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.185, allocations: 52.88 kB / 0.836 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.185, allocations: 3.938 kB / 0.836 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002376/0.1852, allocations: 85.55 kB / 0.8361 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1853, allocations: 4 kB / 0.8361 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1853, allocations: 3.984 kB / 0.8361 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1853, allocations: 0 / 0.8361 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1854, allocations: 16.02 kB / 0.8361 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1854, allocations: 0 / 0.8361 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/0.1854, allocations: 7.984 kB / 0.8361 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.1855, allocations: 4 kB / 0.8361 GB, free: 4.531 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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 9.277e-05/0.1855, allocations: 114.4 kB / 0.8362 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.1856, allocations: 7.984 kB / 0.8362 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.1856, allocations: 3.625 kB / 0.8362 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1856, allocations: 0 / 0.8362 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1856, allocations: 0 / 0.8362 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1856, allocations: 4 kB / 0.8362 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.1858, allocations: 136.9 kB / 0.8364 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1858, allocations: 4 kB / 0.8364 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.881e-05/0.1859, allocations: 11.98 kB / 0.8364 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1859, allocations: 0 / 0.8364 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1859, allocations: 0 / 0.8364 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1859, allocations: 0 / 0.8364 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1859, allocations: 0 / 0.8364 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.1862, allocations: 183.4 kB / 0.8365 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.1862, allocations: 7.953 kB / 0.8366 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1862, allocations: 0 / 0.8366 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1864, allocations: 7.984 kB / 0.8366 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.1864, allocations: 8 kB / 0.8366 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1864, allocations: 3.938 kB / 0.8366 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.232e-05/0.1865, allocations: 83.27 kB / 0.8367 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1865, allocations: 3.938 kB / 0.8367 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002232/0.1867, allocations: 4 kB / 0.8367 GB, free: 3.887 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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.0006167/0.1873, allocations: 0.7085 MB / 0.8373 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.1876, allocations: 51.89 kB / 0.8374 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1876, allocations: 0 / 0.8374 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1877, allocations: 32.06 kB / 0.8374 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.188, allocations: 4 kB / 0.8374 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.1885, allocations: 152.9 kB / 0.8376 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.833e-05/0.1885, allocations: 63.34 kB / 0.8376 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.122e-05/0.1886, allocations: 0 / 0.8376 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.1886, allocations: 23.42 kB / 0.8377 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.1886, allocations: 0 / 0.8377 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.2177, allocations: 2.075 MB / 0.8397 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.3, allocations: 6.094 kB / 0.8397 GB, free: 0.8359 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.40503013227135] Failed to read output from testmodel.py, exit status != 0: 11.409186861012131 11.432012437000001 11.246164738 Calling exit ...