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.001148/0.001148, allocations: 108 kB / 15.6 MB, free: 132 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.001147/0.001147, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.00203, allocations: 282.7 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9031/0.9031, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 99.67 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1513, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002908/0.1543, allocations: 1.48 MB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003234/0.1546, allocations: 104.5 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.1547, allocations: 4 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.646e-05/0.1548, allocations: 3.938 kB / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.1548, allocations: 12.64 kB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.1551, allocations: 23.97 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.562e-05/0.1552, allocations: 44.67 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.1553, allocations: 12.89 kB / 0.6819 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.129e-05/0.1553, allocations: 15.98 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.1554, allocations: 20.39 kB / 0.682 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1554, allocations: 5.062 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.1555, allocations: 23.98 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.1555, allocations: 15.97 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.1556, allocations: 24.86 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.1557, allocations: 55.75 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1557, allocations: 4 kB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1557, allocations: 0 / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1558, allocations: 0 / 0.6821 GB, free: 14.74 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.0005534/0.1563, allocations: 379.3 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1564, allocations: 12.03 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.1564, allocations: 34.69 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.1565, allocations: 8.844 kB / 0.6825 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1566, allocations: 182.1 kB / 0.6827 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1566, allocations: 4.375 kB / 0.6827 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1566, allocations: 4.375 kB / 0.6827 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.1569, allocations: 78.2 kB / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.157, allocations: 3.938 kB / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.157, allocations: 0 / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.157, allocations: 0 / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.1573, allocations: 75.92 kB / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.1577, allocations: 288.8 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1579, allocations: 66.53 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.1581, allocations: 44.86 kB / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.1584, allocations: 109.1 kB / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1584, allocations: 30.56 kB / 0.6834 GB, free: 13.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1584, allocations: 0 / 0.6834 GB, free: 13.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005738/0.159, allocations: 157.4 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1591, allocations: 51.41 kB / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.989e-05/0.1592, allocations: 121.8 kB / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1592, allocations: 25.7 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.1592, allocations: 96.12 kB / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.1593, allocations: 7.812 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.1593, allocations: 21.72 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1594, allocations: 318.8 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.1596, allocations: 35.97 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.1597, allocations: 35.95 kB / 0.6842 GB, free: 12.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.16, allocations: 88.66 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.16, allocations: 0 / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003423/0.1604, allocations: 109.5 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1604, allocations: 4 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1604, allocations: 0 / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1604, allocations: 8 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1606, allocations: 15.98 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1606, allocations: 0 / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.124e-05/0.1607, allocations: 19.88 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.1607, allocations: 0 / 0.6844 GB, free: 12.1 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 9.871e-05/0.1608, allocations: 114.4 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.1608, allocations: 8 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.1612, allocations: 129.8 kB / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1612, allocations: 0 / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1612, allocations: 0 / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1612, allocations: 0 / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.1614, allocations: 189.5 kB / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1614, allocations: 0 / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.536e-05/0.1615, allocations: 15.98 kB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1616, allocations: 4 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.1616, allocations: 0 / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1616, allocations: 0 / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1616, allocations: 3.938 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.162, allocations: 215.2 kB / 0.6851 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.1621, allocations: 85.02 kB / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1621, allocations: 0 / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1622, allocations: 15.98 kB / 0.6852 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.1623, allocations: 3.984 kB / 0.6852 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1623, allocations: 4 kB / 0.6852 GB, free: 11.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.346e-05/0.1623, allocations: 101.3 kB / 0.6853 GB, free: 11.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1623, allocations: 0 / 0.6853 GB, free: 11.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.1626, allocations: 8 kB / 0.6853 GB, free: 11.12 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.0006997/0.1633, allocations: 0.7474 MB / 0.686 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003644/0.1637, allocations: 83.86 kB / 0.6861 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1637, allocations: 0 / 0.6861 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.1638, allocations: 43.95 kB / 0.6861 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.1641, allocations: 0 / 0.6861 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.1646, allocations: 195.2 kB / 0.6863 GB, free: 9.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1649, allocations: 0.6885 MB / 0.687 GB, free: 9.277 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.882e-05/0.1649, allocations: 0 / 0.687 GB, free: 9.277 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.165, allocations: 19.44 kB / 0.687 GB, free: 9.258 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.165, allocations: 0 / 0.687 GB, free: 9.258 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.1858, allocations: 1.868 MB / 0.6888 GB, free: 7.473 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/7.739, allocations: 11.39 kB / 0.6888 GB, free: 7.465 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)