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: translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001435/0.001435, allocations: 113.3 kB / 17.08 MB, free: 5.941 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.001592/0.001592, allocations: 197.9 kB / 18.02 MB, free: 5.027 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.412/1.412, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7753/0.7753, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 71.75 kB / 0.5583 GB, free: 32.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1485, allocations: 76.18 MB / 0.6327 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002715/0.1512, allocations: 1.475 MB / 0.6342 GB, free: 2.887 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004029/0.1517, allocations: 112.5 kB / 0.6343 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.1517, allocations: 0 / 0.6343 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.995e-05/0.1518, allocations: 3.938 kB / 0.6343 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.475e-05/0.1519, allocations: 7.875 kB / 0.6343 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1522, allocations: 27.97 kB / 0.6343 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.465e-05/0.1523, allocations: 39.86 kB / 0.6344 GB, free: 2.695 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1524, allocations: 11.98 kB / 0.6344 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.601e-05/0.1525, allocations: 23.91 kB / 0.6344 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.1525, allocations: 19.92 kB / 0.6344 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.1526, allocations: 4 kB / 0.6344 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.947e-05/0.1527, allocations: 19.98 kB / 0.6344 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.1527, allocations: 15.92 kB / 0.6345 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.1528, allocations: 23.86 kB / 0.6345 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1529, allocations: 59.8 kB / 0.6345 GB, free: 2.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1529, allocations: 4 kB / 0.6345 GB, free: 2.516 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1529, allocations: 4 kB / 0.6345 GB, free: 2.512 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1529, allocations: 0 / 0.6345 GB, free: 2.512 MB / 478.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.0005709/0.1535, allocations: 371.2 kB / 0.6349 GB, free: 2.098 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1536, allocations: 12.03 kB / 0.6349 GB, free: 2.086 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.1536, allocations: 8.844 kB / 0.6349 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1538, allocations: 168.3 kB / 0.6351 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1538, allocations: 8.375 kB / 0.6351 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1538, allocations: 384 / 0.6351 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.1541, allocations: 86.12 kB / 0.6352 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1541, allocations: 192 / 0.6352 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1541, allocations: 3.938 kB / 0.6352 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1541, allocations: 0 / 0.6352 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.1544, allocations: 75.92 kB / 0.6352 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.1548, allocations: 292.8 kB / 0.6355 GB, free: 1.363 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.1551, allocations: 70.41 kB / 0.6356 GB, free: 1.285 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.1552, allocations: 44.86 kB / 0.6356 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.1555, allocations: 113.1 kB / 0.6357 GB, free: 1.109 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1555, allocations: 34.56 kB / 0.6358 GB, free: 1.066 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.1555, allocations: 0 / 0.6358 GB, free: 1.066 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006161/0.1562, allocations: 145.6 kB / 0.6359 GB, free: 0.918 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1562, allocations: 55.34 kB / 0.636 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1563, allocations: 131.5 kB / 0.6361 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1564, allocations: 29.7 kB / 0.6361 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.1564, allocations: 96.03 kB / 0.6362 GB, free: 0.582 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.1564, allocations: 3.906 kB / 0.6362 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.1565, allocations: 21.72 kB / 0.6362 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1566, allocations: 318.8 kB / 0.6365 GB, free: 236 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.1568, allocations: 35.97 kB / 0.6366 GB, free: 200 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1569, allocations: 35.95 kB / 0.6366 GB, free: 164 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.1572, allocations: 80.78 kB / 0.6367 GB, free: 80 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1572, allocations: 3.938 kB / 0.6367 GB, free: 76 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000364/0.1576, allocations: 113.5 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1576, allocations: 5.406 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1576, allocations: 0 / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1576, allocations: 0 / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1578, allocations: 23.92 kB / 0.6368 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1578, allocations: 0 / 0.6368 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.294e-05/0.1579, allocations: 11.98 kB / 0.6368 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.1579, allocations: 3.984 kB / 0.6368 GB, free: 15.91 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 8.677e-05/0.158, allocations: 117.8 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.158, allocations: 4 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.1584, allocations: 117.5 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1584, allocations: 3.984 kB / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1584, allocations: 384 / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1584, allocations: 0 / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1586, allocations: 185.5 kB / 0.6373 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1586, allocations: 0 / 0.6373 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/0.1587, allocations: 19.92 kB / 0.6373 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1588, allocations: 3.984 kB / 0.6373 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1588, allocations: 8 kB / 0.6373 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1588, allocations: 0 / 0.6373 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1588, allocations: 0 / 0.6373 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.1592, allocations: 203.4 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.1592, allocations: 85.02 kB / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1592, allocations: 4 kB / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1594, allocations: 15.98 kB / 0.6376 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.1594, allocations: 7.922 kB / 0.6376 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.1594, allocations: 7.938 kB / 0.6376 GB, free: 15.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.21e-05/0.1595, allocations: 106.1 kB / 0.6377 GB, free: 14.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1595, allocations: 0 / 0.6377 GB, free: 14.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.1597, allocations: 11.94 kB / 0.6377 GB, free: 14.93 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.0001686/0.1599, allocations: 115.2 kB / 0.6378 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.1603, allocations: 75.92 kB / 0.6379 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1603, allocations: 0 / 0.6379 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.1604, allocations: 39.95 kB / 0.6379 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.1607, allocations: 11.94 kB / 0.6379 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.1611, allocations: 167.3 kB / 0.6381 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.1613, allocations: 0.6885 MB / 0.6388 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.1614, allocations: 11.38 kB / 0.6388 GB, free: 13.76 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1614, allocations: 0 / 0.6388 GB, free: 13.76 MB / 494.1 MB Notification: Performance of Templates: time 0.00244/0.1638, allocations: 0.8925 MB / 0.6397 GB, free: 12.87 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)