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.00127/0.00127, allocations: 111.7 kB / 16.41 MB, free: 6.48 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.001399/0.001399, allocations: 195.1 kB / 17.34 MB, free: 5.762 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7083/0.7083, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 67.2 kB / 0.5577 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1429, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002307/0.1452, allocations: 1.477 MB / 0.6335 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002768/0.1455, allocations: 108.5 kB / 0.6336 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.1455, allocations: 4 kB / 0.6336 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.1456, allocations: 3.938 kB / 0.6336 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.946e-05/0.1456, allocations: 7.938 kB / 0.6336 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.1458, allocations: 27.91 kB / 0.6337 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.083e-05/0.1459, allocations: 39.91 kB / 0.6337 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.328e-05/0.146, allocations: 8 kB / 0.6337 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.1461, allocations: 23.91 kB / 0.6337 GB, free: 2.707 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.1461, allocations: 19.92 kB / 0.6338 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1461, allocations: 4 kB / 0.6338 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.139e-05/0.1462, allocations: 27.91 kB / 0.6338 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.1463, allocations: 15.94 kB / 0.6338 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.1463, allocations: 23.86 kB / 0.6338 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.1464, allocations: 55.8 kB / 0.6339 GB, free: 2.562 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1464, allocations: 0 / 0.6339 GB, free: 2.562 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1464, allocations: 0 / 0.6339 GB, free: 2.562 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.1464, allocations: 0 / 0.6339 GB, free: 2.562 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.0004827/0.1469, allocations: 383.2 kB / 0.6342 GB, free: 2.137 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.147, allocations: 12.03 kB / 0.6343 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.147, allocations: 8.844 kB / 0.6343 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1471, allocations: 168.3 kB / 0.6344 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1471, allocations: 16.36 kB / 0.6344 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1471, allocations: 384 / 0.6344 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.1474, allocations: 74.16 kB / 0.6345 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1474, allocations: 4.188 kB / 0.6345 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1474, allocations: 3.938 kB / 0.6345 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1474, allocations: 0 / 0.6345 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.1477, allocations: 75.92 kB / 0.6346 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.148, allocations: 288.8 kB / 0.6349 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.1483, allocations: 66.47 kB / 0.6349 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.1484, allocations: 52.84 kB / 0.635 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.1486, allocations: 105.1 kB / 0.6351 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1487, allocations: 38.56 kB / 0.6351 GB, free: 1.109 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1487, allocations: 0 / 0.6351 GB, free: 1.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005369/0.1492, allocations: 141.6 kB / 0.6353 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.1492, allocations: 51.41 kB / 0.6353 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.857e-05/0.1493, allocations: 137 kB / 0.6354 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1494, allocations: 25.7 kB / 0.6355 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.1494, allocations: 104 kB / 0.6356 GB, free: 0.625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.1495, allocations: 3.906 kB / 0.6356 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.1495, allocations: 21.7 kB / 0.6356 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1496, allocations: 314.8 kB / 0.6359 GB, free: 284 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.1498, allocations: 43.89 kB / 0.6359 GB, free: 240 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1499, allocations: 31.97 kB / 0.636 GB, free: 208 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.1502, allocations: 80.78 kB / 0.636 GB, free: 124 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.1502, allocations: 3.938 kB / 0.636 GB, free: 120 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003128/0.1505, allocations: 113.8 kB / 0.6361 GB, free: 0 / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.1505, allocations: 4.047 kB / 0.6361 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1506, allocations: 7.984 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1506, allocations: 0 / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1507, allocations: 15.94 kB / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1507, allocations: 3.984 kB / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/0.1508, allocations: 15.92 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1508, allocations: 0 / 0.6362 GB, free: 15.95 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 7.397e-05/0.1509, allocations: 117.8 kB / 0.6363 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.1509, allocations: 8 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.1513, allocations: 117.5 kB / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1513, allocations: 0 / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1513, allocations: 0 / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1513, allocations: 3.938 kB / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.1515, allocations: 189.5 kB / 0.6366 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1515, allocations: 0 / 0.6366 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.313e-05/0.1516, allocations: 15.98 kB / 0.6366 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.1516, allocations: 8 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1516, allocations: 0 / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1516, allocations: 0 / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1516, allocations: 3.938 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.152, allocations: 207.4 kB / 0.6368 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.152, allocations: 89.02 kB / 0.6369 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.1521, allocations: 0 / 0.6369 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1522, allocations: 15.97 kB / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.1522, allocations: 0 / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.1522, allocations: 0 / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.563e-05/0.1523, allocations: 103.3 kB / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1523, allocations: 3.938 kB / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.1525, allocations: 15.94 kB / 0.637 GB, free: 14.96 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.000139/0.1527, allocations: 99.23 kB / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.153, allocations: 79.86 kB / 0.6372 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.153, allocations: 0 / 0.6372 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.1532, allocations: 47.95 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.1534, allocations: 10.12 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.1537, allocations: 145.6 kB / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.154, allocations: 0.6885 MB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.537e-05/0.1541, allocations: 0 / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.1541, allocations: 11.44 kB / 0.6381 GB, free: 13.83 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1541, allocations: 4 kB / 0.6381 GB, free: 13.83 MB / 494.1 MB Notification: Performance of Templates: time 0.002739/0.1568, allocations: 0.7958 MB / 0.6389 GB, free: 13.04 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)