Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.001269/0.001269, allocations: 110.6 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.001277/0.001277, 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.413/1.413, 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.002512/0.002512, allocations: 280.7 kB / 303 MB, free: 9.52 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.243/1.243, allocations: 180.9 MB / 0.5261 GB, free: 14.64 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.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 107.3 kB / 0.7248 GB, free: 40.13 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.172, allocations: 94.15 MB / 0.8167 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.003059/0.1751, allocations: 1.503 MB / 0.8182 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000354/0.1754, allocations: 116.7 kB / 0.8183 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.1755, allocations: 0 / 0.8183 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.394e-05/0.1755, allocations: 3.938 kB / 0.8183 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.516e-05/0.1756, allocations: 7.938 kB / 0.8183 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.1758, allocations: 27.95 kB / 0.8183 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.01e-05/0.1759, allocations: 39.86 kB / 0.8184 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.267e-05/0.176, allocations: 11.98 kB / 0.8184 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.176, allocations: 19.92 kB / 0.8184 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.018e-05/0.1761, allocations: 19.92 kB / 0.8184 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1761, allocations: 7.938 kB / 0.8184 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.665e-05/0.1762, allocations: 19.98 kB / 0.8185 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.1762, allocations: 11.98 kB / 0.8185 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.1762, allocations: 23.84 kB / 0.8185 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1764, allocations: 56.03 kB / 0.8185 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1764, allocations: 0 / 0.8185 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1764, allocations: 4 kB / 0.8185 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.788e-06/0.1764, allocations: 0 / 0.8185 GB, free: 3.531 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006341/0.177, allocations: 389.7 kB / 0.8189 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1771, allocations: 12.03 kB / 0.8189 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.1771, allocations: 30.75 kB / 0.819 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.1771, allocations: 8.891 kB / 0.819 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.1773, allocations: 180.3 kB / 0.8191 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1773, allocations: 4.375 kB / 0.8191 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1773, allocations: 384 / 0.8191 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.1776, allocations: 74.22 kB / 0.8192 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1776, allocations: 3.938 kB / 0.8192 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1776, allocations: 0 / 0.8192 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1776, allocations: 0 / 0.8192 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.1779, allocations: 79.86 kB / 0.8193 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1783, allocations: 292.8 kB / 0.8196 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.1785, allocations: 66.47 kB / 0.8196 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.1787, allocations: 44.91 kB / 0.8197 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.1789, allocations: 113 kB / 0.8198 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.179, allocations: 38.56 kB / 0.8198 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.179, allocations: 0 / 0.8198 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005399/0.1795, allocations: 149.5 kB / 0.82 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1796, allocations: 51.41 kB / 0.82 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1797, allocations: 127.1 kB / 0.8201 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1797, allocations: 29.7 kB / 0.8202 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.1797, allocations: 88.14 kB / 0.8203 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.1798, allocations: 7.906 kB / 0.8203 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.1798, allocations: 25.7 kB / 0.8203 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1799, allocations: 314.8 kB / 0.8206 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1801, allocations: 39.95 kB / 0.8206 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.1802, allocations: 31.97 kB / 0.8207 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.1805, allocations: 84.66 kB / 0.8207 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1805, allocations: 4 kB / 0.8207 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003095/0.1808, allocations: 109.6 kB / 0.8208 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1808, allocations: 4 kB / 0.8208 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1808, allocations: 0 / 0.8208 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1808, allocations: 0 / 0.8208 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.181, allocations: 23.97 kB / 0.8209 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.181, allocations: 0 / 0.8209 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.517e-05/0.181, allocations: 15.94 kB / 0.8209 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.181, allocations: 4 kB / 0.8209 GB, free: 0.8828 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): 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 8.848e-05/0.1811, allocations: 117.8 kB / 0.821 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.1812, allocations: 4.328 kB / 0.821 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.1815, allocations: 129.4 kB / 0.8211 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1815, allocations: 0 / 0.8211 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.1815, allocations: 0 / 0.8211 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1815, allocations: 0 / 0.8211 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.1817, allocations: 189.5 kB / 0.8213 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1817, allocations: 0 / 0.8213 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-05/0.1818, allocations: 11.98 kB / 0.8213 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1818, allocations: 0 / 0.8213 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.1818, allocations: 11.94 kB / 0.8213 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1818, allocations: 0 / 0.8213 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1818, allocations: 0 / 0.8213 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.1822, allocations: 207.3 kB / 0.8215 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.1822, allocations: 89.06 kB / 0.8216 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1823, allocations: 4 kB / 0.8216 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1824, allocations: 15.97 kB / 0.8216 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1824, allocations: 3.938 kB / 0.8216 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1824, allocations: 0 / 0.8216 GB, free: 12 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.715e-05/0.1825, allocations: 102.7 kB / 0.8217 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1825, allocations: 0 / 0.8217 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002221/0.1827, allocations: 12 kB / 0.8217 GB, free: 15.9 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): 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.0007084/0.1834, allocations: 0.7435 MB / 0.8225 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.1838, allocations: 87.86 kB / 0.8226 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1838, allocations: 0 / 0.8226 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.1839, allocations: 39.95 kB / 0.8226 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.1841, allocations: 4 kB / 0.8226 GB, free: 15 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.1846, allocations: 183.1 kB / 0.8228 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.185, allocations: 0.6924 MB / 0.8234 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.185, allocations: 0 / 0.8234 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.185, allocations: 19.44 kB / 0.8235 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.185, allocations: 3.938 kB / 0.8235 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.2141, allocations: 1.918 MB / 0.8253 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.065, allocations: 9.312 kB / 0.8254 GB, free: 12.23 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.223688315600157] Failed to read output from testmodel.py, exit status != 0: 8.137570952996612 8.155464149 7.976096738 Calling exit ...