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.0008773/0.0008772, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009278/0.0009278, allocations: 185.8 kB / 16.92 MB, free: 6.75 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6926/0.6926, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003017, allocations: 8 kB / 496 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1509, allocations: 77.53 MB / 0.56 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.001812/0.1528, allocations: 1.201 MB / 0.5612 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003868/0.1532, allocations: 116.5 kB / 0.5613 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.1532, allocations: 0 / 0.5613 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.1533, allocations: 4 kB / 0.5613 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.1533, allocations: 7.922 kB / 0.5613 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.1535, allocations: 19.92 kB / 0.5614 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.86e-05/0.1536, allocations: 39.92 kB / 0.5614 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.759e-05/0.1537, allocations: 15.97 kB / 0.5614 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.041e-05/0.1538, allocations: 19.92 kB / 0.5614 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.1539, allocations: 19.92 kB / 0.5614 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1539, allocations: 0 / 0.5614 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.154, allocations: 19.98 kB / 0.5615 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.154, allocations: 7.922 kB / 0.5615 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.1541, allocations: 41.58 kB / 0.5615 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1542, allocations: 59.78 kB / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1542, allocations: 0 / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1543, allocations: 4 kB / 0.5616 GB, free: 7.309 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1543, allocations: 0 / 0.5616 GB, free: 7.309 MB / 430.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.0005902/0.1549, allocations: 385.8 kB / 0.5619 GB, free: 6.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1549, allocations: 8.031 kB / 0.5619 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.155, allocations: 42.69 kB / 0.562 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.155, allocations: 4.844 kB / 0.562 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1552, allocations: 168.3 kB / 0.5622 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1552, allocations: 8.375 kB / 0.5622 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1552, allocations: 384 / 0.5622 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.1555, allocations: 90.2 kB / 0.5622 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1555, allocations: 3.938 kB / 0.5623 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1555, allocations: 0 / 0.5623 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1556, allocations: 0 / 0.5623 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.1559, allocations: 103.9 kB / 0.5624 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.1563, allocations: 288.8 kB / 0.5626 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.1566, allocations: 82.47 kB / 0.5627 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.1567, allocations: 48.92 kB / 0.5628 GB, free: 5.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.157, allocations: 109.1 kB / 0.5629 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1571, allocations: 38.55 kB / 0.5629 GB, free: 5.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.684e-06/0.1571, allocations: 4 kB / 0.5629 GB, free: 5.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006474/0.1577, allocations: 177.4 kB / 0.5631 GB, free: 5.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.1578, allocations: 51.41 kB / 0.5631 GB, free: 5.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1579, allocations: 133.8 kB / 0.5632 GB, free: 5.379 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.1579, allocations: 25.7 kB / 0.5633 GB, free: 5.348 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.158, allocations: 88.14 kB / 0.5634 GB, free: 5.258 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.158, allocations: 7.906 kB / 0.5634 GB, free: 5.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.158, allocations: 13.72 kB / 0.5634 GB, free: 5.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1582, allocations: 318.8 kB / 0.5637 GB, free: 4.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.1584, allocations: 47.97 kB / 0.5637 GB, free: 4.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.1585, allocations: 47.95 kB / 0.5638 GB, free: 4.816 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.1589, allocations: 104.9 kB / 0.5639 GB, free: 4.711 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1589, allocations: 0 / 0.5639 GB, free: 4.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003762/0.1593, allocations: 141.5 kB / 0.564 GB, free: 4.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1593, allocations: 11.94 kB / 0.564 GB, free: 4.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1593, allocations: 0 / 0.564 GB, free: 4.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1593, allocations: 4 kB / 0.564 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1594, allocations: 15.98 kB / 0.564 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1595, allocations: 4 kB / 0.564 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.895e-05/0.1596, allocations: 19.98 kB / 0.5641 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1596, allocations: 3.984 kB / 0.5641 GB, free: 4.508 MB / 430.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 9.294e-05/0.1597, allocations: 117.8 kB / 0.5642 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.1597, allocations: 3.906 kB / 0.5642 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.1601, allocations: 141.5 kB / 0.5643 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1601, allocations: 3.984 kB / 0.5643 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1601, allocations: 4 kB / 0.5643 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1601, allocations: 0 / 0.5643 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1603, allocations: 181.6 kB / 0.5645 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1604, allocations: 0 / 0.5645 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1605, allocations: 23.98 kB / 0.5645 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1605, allocations: 0 / 0.5645 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1605, allocations: 8 kB / 0.5645 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1605, allocations: 0 / 0.5645 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1605, allocations: 0 / 0.5645 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.161, allocations: 231.2 kB / 0.5647 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.161, allocations: 85.11 kB / 0.5648 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.161, allocations: 8 kB / 0.5648 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1612, allocations: 15.98 kB / 0.5648 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.1612, allocations: 7.922 kB / 0.5649 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1612, allocations: 0 / 0.5649 GB, free: 3.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.949e-05/0.1613, allocations: 106.8 kB / 0.565 GB, free: 3.488 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1613, allocations: 4 kB / 0.565 GB, free: 3.484 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1615, allocations: 8 kB / 0.565 GB, free: 3.477 MB / 430.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.0007455/0.1623, allocations: 0.767 MB / 0.5657 GB, free: 2.684 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000389/0.1627, allocations: 99.86 kB / 0.5658 GB, free: 2.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1627, allocations: 0 / 0.5658 GB, free: 2.586 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.1629, allocations: 59.95 kB / 0.5659 GB, free: 2.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.1632, allocations: 7.938 kB / 0.5659 GB, free: 2.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.1638, allocations: 206.2 kB / 0.5661 GB, free: 2.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.1641, allocations: 0.6887 MB / 0.5667 GB, free: 1.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.428e-05/0.1641, allocations: 4 kB / 0.5668 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.1642, allocations: 19.42 kB / 0.5668 GB, free: 1.543 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1642, allocations: 0 / 0.5668 GB, free: 1.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.1761, allocations: 1.546 MB / 0.5683 GB, free: 124 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.1763, allocations: 199.1 kB / 0.5685 GB, free: 15.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/1.981, allocations: 0 / 0.5685 GB, free: 15.86 MB / 446.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)