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.001038/0.001038, allocations: 116.9 kB / 17.08 MB, free: 6.012 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.001075/0.001075, allocations: 193.8 kB / 18.01 MB, free: 5.094 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.315/1.315, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7149/0.7149, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.7 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1544, allocations: 76.19 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002688/0.1572, allocations: 1.467 MB / 0.6342 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003314/0.1575, allocations: 112.6 kB / 0.6343 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.1576, allocations: 0 / 0.6343 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.731e-05/0.1576, allocations: 7.922 kB / 0.6343 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.855e-05/0.1577, allocations: 11.86 kB / 0.6343 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.158, allocations: 23.97 kB / 0.6343 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.1581, allocations: 35.92 kB / 0.6344 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1582, allocations: 11.98 kB / 0.6344 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.503e-05/0.1583, allocations: 27.86 kB / 0.6344 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.996e-05/0.1583, allocations: 15.92 kB / 0.6344 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1584, allocations: 4 kB / 0.6344 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.475e-05/0.1585, allocations: 19.98 kB / 0.6344 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.1585, allocations: 19.91 kB / 0.6345 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.1586, allocations: 23.86 kB / 0.6345 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1587, allocations: 55.81 kB / 0.6345 GB, free: 2.566 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.1587, allocations: 4 kB / 0.6345 GB, free: 2.562 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1587, allocations: 0 / 0.6345 GB, free: 2.562 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1587, allocations: 3.938 kB / 0.6345 GB, free: 2.559 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.0005484/0.1593, allocations: 383.2 kB / 0.6349 GB, free: 2.133 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1593, allocations: 8.031 kB / 0.6349 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.1594, allocations: 8.844 kB / 0.6349 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.1595, allocations: 176.3 kB / 0.6351 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1595, allocations: 384 / 0.6351 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.1596, allocations: 384 / 0.6351 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.1598, allocations: 86.14 kB / 0.6352 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.1598, allocations: 192 / 0.6352 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1599, allocations: 3.938 kB / 0.6352 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1599, allocations: 0 / 0.6352 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.1602, allocations: 75.92 kB / 0.6352 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.1605, allocations: 284.8 kB / 0.6355 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.1608, allocations: 74.41 kB / 0.6356 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.1609, allocations: 44.92 kB / 0.6356 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.1612, allocations: 113.1 kB / 0.6357 GB, free: 1.152 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1612, allocations: 30.56 kB / 0.6358 GB, free: 1.113 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1612, allocations: 0 / 0.6358 GB, free: 1.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.00054/0.1618, allocations: 141.6 kB / 0.6359 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.1618, allocations: 59.39 kB / 0.636 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1619, allocations: 133.2 kB / 0.6361 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.162, allocations: 25.7 kB / 0.6361 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.162, allocations: 100 kB / 0.6362 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.162, allocations: 7.844 kB / 0.6362 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.1621, allocations: 17.66 kB / 0.6362 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1622, allocations: 322.8 kB / 0.6365 GB, free: 280 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1623, allocations: 35.97 kB / 0.6366 GB, free: 244 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1625, allocations: 39.95 kB / 0.6366 GB, free: 204 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.1627, allocations: 80.78 kB / 0.6367 GB, free: 120 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1628, allocations: 3.938 kB / 0.6367 GB, free: 116 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003143/0.1631, allocations: 113.6 kB / 0.6368 GB, free: 15.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1631, allocations: 4 kB / 0.6368 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1631, allocations: 0 / 0.6368 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1631, allocations: 4 kB / 0.6368 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1633, allocations: 15.88 kB / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1633, allocations: 0 / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.688e-05/0.1634, allocations: 15.98 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1634, allocations: 0 / 0.6368 GB, free: 15.96 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.373e-05/0.1635, allocations: 122.4 kB / 0.637 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.1635, allocations: 4 kB / 0.637 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.1638, allocations: 113.8 kB / 0.6371 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1639, allocations: 48 / 0.6371 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1639, allocations: 11.92 kB / 0.6371 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1639, allocations: 3.984 kB / 0.6371 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.1641, allocations: 185.5 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1641, allocations: 0 / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.1642, allocations: 19.97 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1642, allocations: 0 / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1642, allocations: 3.938 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1642, allocations: 0 / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1642, allocations: 0 / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.1646, allocations: 211.4 kB / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.1646, allocations: 81.02 kB / 0.6376 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1646, allocations: 0 / 0.6376 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1647, allocations: 11.98 kB / 0.6376 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1648, allocations: 11.98 kB / 0.6376 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1648, allocations: 4 kB / 0.6376 GB, free: 15.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.36e-05/0.1649, allocations: 95.27 kB / 0.6377 GB, free: 14.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.452e-06/0.1649, allocations: 0 / 0.6377 GB, free: 14.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.1651, allocations: 15.88 kB / 0.6377 GB, free: 14.97 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.0001504/0.1653, allocations: 103.2 kB / 0.6378 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003261/0.1656, allocations: 83.84 kB / 0.6379 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1656, allocations: 0 / 0.6379 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1658, allocations: 43.95 kB / 0.6379 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.166, allocations: 14.75 kB / 0.6379 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.1664, allocations: 171.3 kB / 0.6381 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1667, allocations: 0.6924 MB / 0.6388 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.1667, allocations: 7.438 kB / 0.6388 GB, free: 13.8 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1667, allocations: 0 / 0.6388 GB, free: 13.8 MB / 494.1 MB Notification: Performance of Templates: time 0.002379/0.1691, allocations: 0.9134 MB / 0.6397 GB, free: 12.89 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)