Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 107.7 kB / 16.4 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 197.2 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7555/0.7555, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 70.98 kB / 0.5572 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1542, allocations: 76.19 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002401/0.1566, allocations: 1.48 MB / 0.633 GB, free: 3.391 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003047/0.1569, allocations: 108.5 kB / 0.6331 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.157, allocations: 0 / 0.6331 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.286e-05/0.157, allocations: 3.938 kB / 0.6331 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.83e-05/0.1571, allocations: 15.92 kB / 0.6332 GB, free: 3.262 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1573, allocations: 23.91 kB / 0.6332 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.111e-05/0.1574, allocations: 39.92 kB / 0.6332 GB, free: 3.199 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.1575, allocations: 11.98 kB / 0.6332 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.507e-05/0.1576, allocations: 15.92 kB / 0.6333 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.1576, allocations: 23.92 kB / 0.6333 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1577, allocations: 4 kB / 0.6333 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.58e-05/0.1577, allocations: 19.98 kB / 0.6333 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.1578, allocations: 19.91 kB / 0.6333 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.1578, allocations: 27.86 kB / 0.6333 GB, free: 3.078 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.158, allocations: 55.81 kB / 0.6334 GB, free: 3.023 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.158, allocations: 0 / 0.6334 GB, free: 3.023 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.158, allocations: 3.938 kB / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.158, allocations: 3.938 kB / 0.6334 GB, free: 3.016 MB / 478.1 MB 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.0005351/0.1585, allocations: 374.9 kB / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1586, allocations: 8.031 kB / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.1586, allocations: 38.75 kB / 0.6338 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.1586, allocations: 8.844 kB / 0.6338 GB, free: 2.539 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1588, allocations: 172.3 kB / 0.634 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.1588, allocations: 4.375 kB / 0.634 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1588, allocations: 384 / 0.634 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.1591, allocations: 78.2 kB / 0.6341 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1591, allocations: 3.938 kB / 0.6341 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1591, allocations: 0 / 0.6341 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1591, allocations: 0 / 0.6341 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.1594, allocations: 83.86 kB / 0.6341 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.1598, allocations: 288.7 kB / 0.6344 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.16, allocations: 62.53 kB / 0.6345 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.1601, allocations: 52.91 kB / 0.6345 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/0.1604, allocations: 101.1 kB / 0.6346 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1604, allocations: 38.55 kB / 0.6347 GB, free: 1.539 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1604, allocations: 3.938 kB / 0.6347 GB, free: 1.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005146/0.1609, allocations: 141.6 kB / 0.6348 GB, free: 1.391 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.161, allocations: 55.41 kB / 0.6349 GB, free: 1.324 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.95e-05/0.1611, allocations: 129.8 kB / 0.635 GB, free: 1.188 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.1611, allocations: 29.64 kB / 0.635 GB, free: 1.152 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.1611, allocations: 100 kB / 0.6351 GB, free: 1.051 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.1612, allocations: 3.906 kB / 0.6351 GB, free: 1.047 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.1612, allocations: 17.7 kB / 0.6351 GB, free: 1.023 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.1613, allocations: 314.8 kB / 0.6354 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.1614, allocations: 39.95 kB / 0.6355 GB, free: 0.668 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1616, allocations: 31.97 kB / 0.6355 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.1618, allocations: 92.66 kB / 0.6356 GB, free: 0.543 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1618, allocations: 0 / 0.6356 GB, free: 0.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003024/0.1622, allocations: 113.8 kB / 0.6357 GB, free: 436 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1622, allocations: 8 kB / 0.6357 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1622, allocations: 3.984 kB / 0.6357 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1622, allocations: 0 / 0.6357 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1623, allocations: 15.98 kB / 0.6357 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1623, allocations: 3.984 kB / 0.6357 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.298e-05/0.1624, allocations: 11.98 kB / 0.6357 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1624, allocations: 0 / 0.6357 GB, free: 392 kB / 478.1 MB 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.278e-05/0.1625, allocations: 117.8 kB / 0.6358 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.1626, allocations: 8 kB / 0.6358 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.1629, allocations: 121.4 kB / 0.636 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1629, allocations: 3.938 kB / 0.636 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1629, allocations: 0 / 0.636 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.163, allocations: 0 / 0.636 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.1631, allocations: 189.5 kB / 0.6361 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1631, allocations: 0 / 0.6361 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.126e-05/0.1632, allocations: 15.98 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1632, allocations: 4 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1633, allocations: 0 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1633, allocations: 0 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1633, allocations: 0 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.1636, allocations: 211.3 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.1637, allocations: 88.95 kB / 0.6365 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1637, allocations: 0 / 0.6365 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1638, allocations: 15.97 kB / 0.6365 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.1638, allocations: 4 kB / 0.6365 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1639, allocations: 0 / 0.6365 GB, free: 15.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.039e-05/0.1639, allocations: 109.6 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1639, allocations: 0 / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1642, allocations: 12 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB 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.0006748/0.1648, allocations: 0.7474 MB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.1652, allocations: 79.92 kB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1652, allocations: 0 / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.1653, allocations: 39.95 kB / 0.6374 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.1656, allocations: 8 kB / 0.6374 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.1661, allocations: 179.2 kB / 0.6376 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1664, allocations: 0.6962 MB / 0.6383 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.845e-05/0.1664, allocations: 4 kB / 0.6383 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.1664, allocations: 15.44 kB / 0.6383 GB, free: 13.54 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1664, allocations: 0 / 0.6383 GB, free: 13.54 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.1845, allocations: 1.908 MB / 0.6402 GB, free: 11.71 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.775, allocations: 19.53 kB / 0.6402 GB, free: 11.69 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)