Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009748/0.009748, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001515/0.001516, allocations: 194.2 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6726/0.6726, allocations: 95.48 MB / 365.4 MB, free: 9.77 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 70.09 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1515, allocations: 69.08 MB / 0.5711 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002809/0.1544, allocations: 1.463 MB / 0.5725 GB, free: 6.844 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002818/0.1547, allocations: 96.31 kB / 0.5726 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.1547, allocations: 0 / 0.5726 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/0.1548, allocations: 3.938 kB / 0.5726 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.883e-05/0.1548, allocations: 19.84 kB / 0.5726 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.1551, allocations: 19.97 kB / 0.5726 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.512e-05/0.1552, allocations: 39.86 kB / 0.5727 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.536e-05/0.1553, allocations: 15.98 kB / 0.5727 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.1553, allocations: 11.94 kB / 0.5727 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.1554, allocations: 31.84 kB / 0.5727 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1554, allocations: 4 kB / 0.5727 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.74e-05/0.1555, allocations: 19.98 kB / 0.5728 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.1555, allocations: 11.97 kB / 0.5728 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.1556, allocations: 23.81 kB / 0.5728 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1557, allocations: 59.86 kB / 0.5728 GB, free: 6.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1557, allocations: 0 / 0.5728 GB, free: 6.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1557, allocations: 0 / 0.5728 GB, free: 6.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1558, allocations: 0 / 0.5728 GB, free: 6.492 MB / 446.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.0005951/0.1564, allocations: 379.2 kB / 0.5732 GB, free: 6.074 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1564, allocations: 11.98 kB / 0.5732 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.1565, allocations: 16.77 kB / 0.5732 GB, free: 6.047 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.1566, allocations: 176.2 kB / 0.5734 GB, free: 5.836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1567, allocations: 4.125 kB / 0.5734 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1567, allocations: 8 kB / 0.5734 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.157, allocations: 77.58 kB / 0.5735 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.157, allocations: 7.984 kB / 0.5735 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.157, allocations: 0 / 0.5735 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.157, allocations: 0 / 0.5735 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.1573, allocations: 75.92 kB / 0.5736 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.1577, allocations: 276.9 kB / 0.5738 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.1579, allocations: 74.47 kB / 0.5739 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.1581, allocations: 44.91 kB / 0.5739 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/0.1584, allocations: 109.1 kB / 0.574 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1584, allocations: 34.56 kB / 0.5741 GB, free: 5.043 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.1584, allocations: 0 / 0.5741 GB, free: 5.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005647/0.159, allocations: 141.5 kB / 0.5742 GB, free: 4.898 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.159, allocations: 59.41 kB / 0.5743 GB, free: 4.828 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1592, allocations: 133.2 kB / 0.5744 GB, free: 4.691 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1592, allocations: 25.7 kB / 0.5744 GB, free: 4.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.1592, allocations: 96.12 kB / 0.5745 GB, free: 4.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1593, allocations: 11.81 kB / 0.5745 GB, free: 4.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.1593, allocations: 9.719 kB / 0.5745 GB, free: 4.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1594, allocations: 330.7 kB / 0.5749 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1596, allocations: 35.97 kB / 0.5749 GB, free: 4.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1597, allocations: 35.95 kB / 0.5749 GB, free: 4.133 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.16, allocations: 80.78 kB / 0.575 GB, free: 4.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.16, allocations: 0 / 0.575 GB, free: 4.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003237/0.1604, allocations: 105.6 kB / 0.5751 GB, free: 3.941 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1604, allocations: 11.98 kB / 0.5751 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1604, allocations: 0 / 0.5751 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1604, allocations: 0 / 0.5751 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.1605, allocations: 11.98 kB / 0.5751 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.1606, allocations: 7.938 kB / 0.5751 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.124e-05/0.1606, allocations: 23.7 kB / 0.5752 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.1607, allocations: 8 kB / 0.5752 GB, free: 3.879 MB / 446.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.592e-05/0.1607, allocations: 113.8 kB / 0.5753 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1608, allocations: 4 kB / 0.5753 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.1611, allocations: 113.5 kB / 0.5754 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1612, allocations: 0 / 0.5754 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1612, allocations: 4 kB / 0.5754 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1612, allocations: 8.312 kB / 0.5754 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.1614, allocations: 177.6 kB / 0.5756 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1614, allocations: 3.938 kB / 0.5756 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-05/0.1615, allocations: 19.97 kB / 0.5756 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1615, allocations: 0 / 0.5756 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1615, allocations: 0 / 0.5756 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1615, allocations: 3.938 kB / 0.5756 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.1615, allocations: 7.984 kB / 0.5756 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.1619, allocations: 215.3 kB / 0.5758 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.1619, allocations: 81.02 kB / 0.5759 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.162, allocations: 0 / 0.5759 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1621, allocations: 11.98 kB / 0.5759 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.1621, allocations: 11.98 kB / 0.5759 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1621, allocations: 7.938 kB / 0.5759 GB, free: 3.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.353e-05/0.1622, allocations: 95.27 kB / 0.576 GB, free: 2.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1622, allocations: 0 / 0.576 GB, free: 2.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.1624, allocations: 8 kB / 0.576 GB, free: 2.902 MB / 446.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.0001506/0.1626, allocations: 99.25 kB / 0.5761 GB, free: 2.797 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003872/0.163, allocations: 87.84 kB / 0.5762 GB, free: 2.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.163, allocations: 4 kB / 0.5762 GB, free: 2.707 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1631, allocations: 35.97 kB / 0.5762 GB, free: 2.672 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.1634, allocations: 7.984 kB / 0.5762 GB, free: 2.664 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.1638, allocations: 145.6 kB / 0.5764 GB, free: 2.496 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1641, allocations: 0.6846 MB / 0.577 GB, free: 1.785 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.269e-05/0.1641, allocations: 7.984 kB / 0.577 GB, free: 1.777 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.1641, allocations: 7.438 kB / 0.5771 GB, free: 1.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1641, allocations: 0 / 0.5771 GB, free: 1.77 MB / 446.1 MB Notification: Performance of Templates: time 0.002973/0.1671, allocations: 0.8064 MB / 0.5778 GB, free: 0.9727 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)