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.01199/0.01199, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001883/0.001883, allocations: 190.5 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.653/1.653, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.6164/0.6164, allocations: 95.48 MB / 365.4 MB, free: 9.777 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.001401/0.001401, allocations: 74.08 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1469, allocations: 69.09 MB / 0.5711 GB, free: 8.344 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003389/0.1503, allocations: 1.455 MB / 0.5725 GB, free: 6.871 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004446/0.1508, allocations: 100.2 kB / 0.5726 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.1509, allocations: 0 / 0.5726 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.044e-05/0.151, allocations: 3.938 kB / 0.5726 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.223e-05/0.1511, allocations: 7.938 kB / 0.5726 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1514, allocations: 19.97 kB / 0.5726 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1516, allocations: 59.77 kB / 0.5727 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.1517, allocations: 8 kB / 0.5727 GB, free: 6.676 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.043e-05/0.1518, allocations: 15.92 kB / 0.5727 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.1519, allocations: 19.92 kB / 0.5727 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1519, allocations: 4 kB / 0.5727 GB, free: 6.637 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.152, allocations: 23.97 kB / 0.5728 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.1521, allocations: 11.94 kB / 0.5728 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.1522, allocations: 23.86 kB / 0.5728 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1524, allocations: 55.86 kB / 0.5728 GB, free: 6.523 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1524, allocations: 4 kB / 0.5728 GB, free: 6.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.68e-06/0.1524, allocations: 0 / 0.5728 GB, free: 6.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1524, allocations: 3.938 kB / 0.5728 GB, free: 6.516 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.0007228/0.1532, allocations: 375.3 kB / 0.5732 GB, free: 6.102 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.1532, allocations: 11.98 kB / 0.5732 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/0.1533, allocations: 12.78 kB / 0.5732 GB, free: 6.078 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.1535, allocations: 172.2 kB / 0.5734 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.1535, allocations: 8.109 kB / 0.5734 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.1535, allocations: 8 kB / 0.5734 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.1539, allocations: 77.64 kB / 0.5735 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1539, allocations: 0 / 0.5735 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.154, allocations: 0 / 0.5735 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.154, allocations: 4 kB / 0.5735 GB, free: 5.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.1543, allocations: 75.92 kB / 0.5736 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.1548, allocations: 284.8 kB / 0.5738 GB, free: 5.367 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.155, allocations: 66.53 kB / 0.5739 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.1552, allocations: 44.91 kB / 0.5739 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.1555, allocations: 113.1 kB / 0.574 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1555, allocations: 30.56 kB / 0.5741 GB, free: 5.078 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.1555, allocations: 0 / 0.5741 GB, free: 5.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005448/0.1561, allocations: 157.4 kB / 0.5742 GB, free: 4.918 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1561, allocations: 51.41 kB / 0.5743 GB, free: 4.855 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1562, allocations: 137 kB / 0.5744 GB, free: 4.715 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.1563, allocations: 25.7 kB / 0.5744 GB, free: 4.684 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.1563, allocations: 84.14 kB / 0.5745 GB, free: 4.598 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.1564, allocations: 19.8 kB / 0.5745 GB, free: 4.578 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.1564, allocations: 17.7 kB / 0.5745 GB, free: 4.555 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1565, allocations: 322.8 kB / 0.5749 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1567, allocations: 35.95 kB / 0.5749 GB, free: 4.195 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1568, allocations: 35.97 kB / 0.5749 GB, free: 4.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.157, allocations: 76.78 kB / 0.575 GB, free: 4.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.157, allocations: 0 / 0.575 GB, free: 4.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000305/0.1574, allocations: 117.5 kB / 0.5751 GB, free: 3.961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1574, allocations: 4 kB / 0.5751 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1574, allocations: 0 / 0.5751 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1574, allocations: 0 / 0.5751 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1576, allocations: 19.98 kB / 0.5751 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1576, allocations: 7.922 kB / 0.5751 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.251e-05/0.1577, allocations: 23.77 kB / 0.5752 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1577, allocations: 0 / 0.5752 GB, free: 3.906 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 9.775e-05/0.1578, allocations: 113.8 kB / 0.5753 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.1578, allocations: 0 / 0.5753 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003812/0.1582, allocations: 125.4 kB / 0.5754 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1582, allocations: 4.375 kB / 0.5754 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1583, allocations: 0 / 0.5754 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1583, allocations: 3.938 kB / 0.5754 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.1585, allocations: 177.6 kB / 0.5756 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1585, allocations: 0 / 0.5756 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.029e-05/0.1586, allocations: 15.98 kB / 0.5756 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.1586, allocations: 3.984 kB / 0.5756 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1586, allocations: 4 kB / 0.5756 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1587, allocations: 4 kB / 0.5756 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1587, allocations: 0 / 0.5756 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.159, allocations: 211.2 kB / 0.5758 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.1591, allocations: 81.02 kB / 0.5759 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1591, allocations: 12 kB / 0.5759 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.1592, allocations: 11.97 kB / 0.5759 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.1593, allocations: 4 kB / 0.5759 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.1593, allocations: 7.938 kB / 0.5759 GB, free: 3.035 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.044e-05/0.1594, allocations: 95.27 kB / 0.576 GB, free: 2.941 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1594, allocations: 0 / 0.576 GB, free: 2.941 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1596, allocations: 12 kB / 0.576 GB, free: 2.93 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.0001798/0.1598, allocations: 107.2 kB / 0.5761 GB, free: 2.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.1602, allocations: 79.92 kB / 0.5762 GB, free: 2.738 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1602, allocations: 0 / 0.5762 GB, free: 2.738 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1603, allocations: 43.89 kB / 0.5762 GB, free: 2.695 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1606, allocations: 8 kB / 0.5762 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.1611, allocations: 145.6 kB / 0.5764 GB, free: 2.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.1614, allocations: 0.6885 MB / 0.577 GB, free: 1.805 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.472e-05/0.1614, allocations: 3.984 kB / 0.5771 GB, free: 1.801 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.1615, allocations: 11.44 kB / 0.5771 GB, free: 1.789 MB / 446.1 MB Notification: Performance of SimCode: time 2.014e-06/0.1615, allocations: 0 / 0.5771 GB, free: 1.789 MB / 446.1 MB Notification: Performance of Templates: time 0.003766/0.1652, allocations: 0.7992 MB / 0.5778 GB, free: 0.9961 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)