Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002206/0.002206, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002449/0.002449, allocations: 296.3 kB / 303 MB, free: 9.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.241/1.241, allocations: 180.9 MB / 0.5261 GB, free: 14.75 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 101 kB / 0.7248 GB, free: 39.9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1727, allocations: 94.16 MB / 0.8168 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001872/0.1746, allocations: 0.5839 MB / 0.8173 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003126/0.1749, allocations: 95.72 kB / 0.8174 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.692e-05/0.1749, allocations: 4 kB / 0.8174 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.1749, allocations: 0 / 0.8174 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.917e-05/0.175, allocations: 0 / 0.8174 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.1752, allocations: 15.92 kB / 0.8175 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.796e-05/0.1753, allocations: 7.984 kB / 0.8175 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.1753, allocations: 11.97 kB / 0.8175 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.978e-05/0.1754, allocations: 7.938 kB / 0.8175 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.1754, allocations: 4 kB / 0.8175 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1754, allocations: 0 / 0.8175 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.336e-05/0.1755, allocations: 15.98 kB / 0.8175 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.1755, allocations: 4 kB / 0.8175 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.1755, allocations: 0 / 0.8175 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.488e-05/0.1756, allocations: 23.91 kB / 0.8175 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1756, allocations: 3.938 kB / 0.8175 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1756, allocations: 0 / 0.8175 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.1756, allocations: 0 / 0.8175 GB, free: 4.688 MB / 0.5606 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.0004191/0.1761, allocations: 315.8 kB / 0.8178 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1761, allocations: 12.03 kB / 0.8178 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.1761, allocations: 30.75 kB / 0.8179 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.1763, allocations: 16.92 kB / 0.8179 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1764, allocations: 164.4 kB / 0.818 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.1764, allocations: 384 / 0.818 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.1764, allocations: 4.375 kB / 0.818 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1766, allocations: 38.19 kB / 0.8181 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1766, allocations: 3.938 kB / 0.8181 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1766, allocations: 0 / 0.8181 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1766, allocations: 0 / 0.8181 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.087e-05/0.1767, allocations: 15.98 kB / 0.8181 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.1769, allocations: 165.7 kB / 0.8183 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1771, allocations: 34.56 kB / 0.8183 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.1771, allocations: 16.84 kB / 0.8183 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.1771, allocations: 4 kB / 0.8183 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1772, allocations: 38.56 kB / 0.8183 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.1772, allocations: 0 / 0.8183 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002218/0.1774, allocations: 57.61 kB / 0.8184 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1774, allocations: 51.41 kB / 0.8185 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.687e-05/0.1775, allocations: 89.86 kB / 0.8185 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1775, allocations: 29.64 kB / 0.8186 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.1775, allocations: 80.14 kB / 0.8186 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.799e-05/0.1776, allocations: 15.89 kB / 0.8187 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.1777, allocations: 13.91 kB / 0.8187 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1778, allocations: 314.8 kB / 0.819 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.862e-05/0.1779, allocations: 8 kB / 0.819 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.1779, allocations: 7.938 kB / 0.819 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.122e-05/0.178, allocations: 24.84 kB / 0.819 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.178, allocations: 0 / 0.819 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001106/0.1781, allocations: 49.67 kB / 0.8191 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1781, allocations: 8 kB / 0.8191 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1781, allocations: 3.938 kB / 0.8191 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1781, allocations: 0 / 0.8191 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.1785, allocations: 40.27 kB / 0.8191 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.18, allocations: 1.412 MB / 0.8205 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.18, allocations: 0 / 0.8205 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1801, allocations: 8.016 kB / 0.8205 GB, free: 1.277 MB / 0.5606 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.938e-05/0.1801, allocations: 113.8 kB / 0.8206 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.1802, allocations: 7.891 kB / 0.8206 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.1802, allocations: 11.58 kB / 0.8206 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1802, allocations: 4 kB / 0.8206 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.1802, allocations: 0 / 0.8206 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1802, allocations: 0 / 0.8206 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.1803, allocations: 157.6 kB / 0.8208 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1803, allocations: 3.984 kB / 0.8208 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.1807, allocations: 47.94 kB / 0.8208 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1807, allocations: 0 / 0.8208 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.1807, allocations: 0 / 0.8208 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.182, allocations: 1.408 MB / 0.8222 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.182, allocations: 4.125 kB / 0.8222 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.1822, allocations: 69.11 kB / 0.8223 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.1822, allocations: 81.11 kB / 0.8223 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-06/0.1823, allocations: 3.938 kB / 0.8224 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.641e-05/0.1823, allocations: 4 kB / 0.8224 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.1823, allocations: 4.031 kB / 0.8224 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1823, allocations: 3.984 kB / 0.8224 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.341e-05/0.1823, allocations: 83.22 kB / 0.8224 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1823, allocations: 4 kB / 0.8224 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001893/0.1825, allocations: 0 / 0.8224 GB, free: 15.04 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005143/0.183, allocations: 0.6124 MB / 0.823 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000453/0.1835, allocations: 63.92 kB / 0.8231 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.1835, allocations: 0 / 0.8231 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.1838, allocations: 39.89 kB / 0.8231 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.1839, allocations: 11.33 kB / 0.8232 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.1844, allocations: 126.6 kB / 0.8233 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1847, allocations: 0.6768 MB / 0.8239 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.1848, allocations: 0 / 0.8239 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.1848, allocations: 15.44 kB / 0.824 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1848, allocations: 0 / 0.824 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.2091, allocations: 1.317 MB / 0.8252 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.69, allocations: 14.8 kB / 0.8253 GB, free: 12.27 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.952819609083235] Failed to read output from testmodel.py, exit status != 0: 11.785756862722337 11.809427186 11.629370122 Calling exit ...