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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001071/0.001071, allocations: 196 kB / 16.25 MB, free: 6.625 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.13/1.13, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001857/0.001857, allocations: 283.1 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8745/0.8745, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 89.69 kB / 0.5948 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1488, allocations: 86.98 MB / 0.6797 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002272/0.1511, allocations: 1.543 MB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002493/0.1514, allocations: 104.6 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.1514, allocations: 0 / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.1515, allocations: 7.922 kB / 0.6814 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/0.1515, allocations: 11.92 kB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.1517, allocations: 15.98 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.731e-05/0.1518, allocations: 47.84 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.1519, allocations: 9.062 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.1519, allocations: 12.64 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.748e-05/0.152, allocations: 23.86 kB / 0.6815 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.152, allocations: 4.719 kB / 0.6815 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.152, allocations: 20.73 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.1521, allocations: 15.97 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.1521, allocations: 24.48 kB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.941e-05/0.1522, allocations: 59.75 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1522, allocations: 5.906 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1522, allocations: 0 / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1522, allocations: 0 / 0.6816 GB, free: 15.04 MB / 494.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.0004561/0.1527, allocations: 383.3 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1527, allocations: 8.031 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.1528, allocations: 34.75 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.1528, allocations: 4.844 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1529, allocations: 186.1 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1529, allocations: 4.375 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1529, allocations: 384 / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.1532, allocations: 70.22 kB / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1532, allocations: 7.938 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1532, allocations: 8 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1532, allocations: 4 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.1535, allocations: 79.8 kB / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.1538, allocations: 284.9 kB / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.154, allocations: 66.53 kB / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.1542, allocations: 44.91 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/0.1544, allocations: 109.1 kB / 0.6828 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1544, allocations: 38.5 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1544, allocations: 0 / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000494/0.1549, allocations: 149.4 kB / 0.683 GB, free: 13.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.1549, allocations: 55.41 kB / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.155, allocations: 125.8 kB / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.1551, allocations: 25.7 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.1551, allocations: 92.14 kB / 0.6833 GB, free: 13.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.1551, allocations: 7.812 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.1552, allocations: 21.7 kB / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.1552, allocations: 310.8 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1554, allocations: 43.95 kB / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.1555, allocations: 35.97 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.1558, allocations: 88.64 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1558, allocations: 0 / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002955/0.1561, allocations: 105.6 kB / 0.6839 GB, free: 12.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.1561, allocations: 4 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1561, allocations: 0 / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.1561, allocations: 0 / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1563, allocations: 19.97 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1563, allocations: 0 / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.636e-05/0.1563, allocations: 23.89 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1564, allocations: 0 / 0.6839 GB, free: 12.39 MB / 494.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 7.023e-05/0.1564, allocations: 114.4 kB / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.1565, allocations: 4 kB / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.1568, allocations: 129.8 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1568, allocations: 4 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1568, allocations: 0 / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1568, allocations: 0 / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.157, allocations: 185.5 kB / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.157, allocations: 0 / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.835e-05/0.1571, allocations: 11.98 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1571, allocations: 3.938 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1571, allocations: 4 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1571, allocations: 0 / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1571, allocations: 0 / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.1575, allocations: 215.2 kB / 0.6846 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.1575, allocations: 85.02 kB / 0.6846 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1575, allocations: 3.984 kB / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1576, allocations: 19.98 kB / 0.6847 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.1577, allocations: 4 kB / 0.6847 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1577, allocations: 0 / 0.6847 GB, free: 11.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.368e-05/0.1577, allocations: 98.02 kB / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1578, allocations: 0 / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.158, allocations: 19.98 kB / 0.6848 GB, free: 11.41 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.0005957/0.1586, allocations: 0.7473 MB / 0.6855 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.1589, allocations: 75.92 kB / 0.6856 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1589, allocations: 0 / 0.6856 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1591, allocations: 47.95 kB / 0.6856 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.1593, allocations: 4 kB / 0.6856 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.1597, allocations: 203.2 kB / 0.6858 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.16, allocations: 0.6924 MB / 0.6865 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.687e-05/0.16, allocations: 0 / 0.6865 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.16, allocations: 19.44 kB / 0.6865 GB, free: 9.531 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.16, allocations: 0 / 0.6865 GB, free: 9.531 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.766/1.926, allocations: 1.684 MB / 0.6882 GB, free: 7.977 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.926, allocations: 209.1 kB / 0.6884 GB, free: 7.723 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/4.028, allocations: 0 / 0.6884 GB, free: 7.723 MB / 494.1 MB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)