Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7604/0.7604, allocations: 128.7 MB / 144.5 MB, free: 1.371 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 190.9 kB / 174.3 MB, free: 5.941 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205 MB / 408.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 108.6 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001039, allocations: 61.2 kB / 0.558 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1589, allocations: 75.47 MB / 0.6317 GB, free: 33.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002458/0.1614, allocations: 1.546 MB / 0.6332 GB, free: 31.5 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003274/0.1617, allocations: 115.7 kB / 0.6333 GB, free: 31.39 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.1618, allocations: 0 / 0.6333 GB, free: 31.39 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.224e-05/0.1618, allocations: 4 kB / 0.6333 GB, free: 31.39 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.878e-05/0.1619, allocations: 3.938 kB / 0.6333 GB, free: 31.38 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.1621, allocations: 19.98 kB / 0.6333 GB, free: 31.36 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.012e-05/0.1622, allocations: 55.77 kB / 0.6334 GB, free: 31.31 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.918e-05/0.1623, allocations: 4 kB / 0.6334 GB, free: 31.3 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.1623, allocations: 15.92 kB / 0.6334 GB, free: 31.29 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.1624, allocations: 19.92 kB / 0.6334 GB, free: 31.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1624, allocations: 0 / 0.6334 GB, free: 31.27 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.867e-05/0.1625, allocations: 23.97 kB / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.449e-05/0.1625, allocations: 8 kB / 0.6334 GB, free: 31.24 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.1625, allocations: 19.86 kB / 0.6335 GB, free: 31.22 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.1627, allocations: 63.8 kB / 0.6335 GB, free: 31.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1627, allocations: 0 / 0.6335 GB, free: 31.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1627, allocations: 0 / 0.6335 GB, free: 31.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1627, allocations: 0 / 0.6335 GB, free: 31.16 MB / 442.7 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.0004489/0.1631, allocations: 375.6 kB / 0.6339 GB, free: 30.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1632, allocations: 8.031 kB / 0.6339 GB, free: 30.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.1632, allocations: 8.844 kB / 0.6339 GB, free: 30.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.078e-05/0.1633, allocations: 176.2 kB / 0.6341 GB, free: 30.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1633, allocations: 8.375 kB / 0.6341 GB, free: 30.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1634, allocations: 4.375 kB / 0.6341 GB, free: 30.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.1636, allocations: 74.16 kB / 0.6341 GB, free: 30.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1636, allocations: 4.125 kB / 0.6342 GB, free: 30.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1637, allocations: 3.938 kB / 0.6342 GB, free: 30.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1637, allocations: 7.938 kB / 0.6342 GB, free: 30.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.1639, allocations: 75.92 kB / 0.6342 GB, free: 30.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.1643, allocations: 281 kB / 0.6345 GB, free: 30.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1645, allocations: 74.39 kB / 0.6346 GB, free: 29.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.1646, allocations: 52.91 kB / 0.6346 GB, free: 29.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/0.1648, allocations: 105.1 kB / 0.6347 GB, free: 29.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.1648, allocations: 30.56 kB / 0.6348 GB, free: 29.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1648, allocations: 0 / 0.6348 GB, free: 29.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005069/0.1654, allocations: 153.5 kB / 0.6349 GB, free: 29.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.1654, allocations: 51.41 kB / 0.6349 GB, free: 29.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.948e-05/0.1655, allocations: 130.3 kB / 0.6351 GB, free: 29.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.1655, allocations: 25.7 kB / 0.6351 GB, free: 29.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.1655, allocations: 92.14 kB / 0.6352 GB, free: 29.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.1656, allocations: 23.72 kB / 0.6352 GB, free: 29.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.1656, allocations: 13.72 kB / 0.6352 GB, free: 29.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.1656, allocations: 314.8 kB / 0.6355 GB, free: 28.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1658, allocations: 35.95 kB / 0.6356 GB, free: 28.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1659, allocations: 39.95 kB / 0.6356 GB, free: 28.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.1662, allocations: 80.78 kB / 0.6357 GB, free: 28.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1662, allocations: 3.938 kB / 0.6357 GB, free: 28.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002863/0.1665, allocations: 105.6 kB / 0.6358 GB, free: 28.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1665, allocations: 4 kB / 0.6358 GB, free: 28.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1665, allocations: 4 kB / 0.6358 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1665, allocations: 0 / 0.6358 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1666, allocations: 23.91 kB / 0.6358 GB, free: 28.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1667, allocations: 0 / 0.6358 GB, free: 28.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.178e-05/0.1667, allocations: 11.98 kB / 0.6358 GB, free: 28.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.1667, allocations: 0 / 0.6358 GB, free: 28.56 MB / 442.7 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 5.736e-05/0.1668, allocations: 117.8 kB / 0.6359 GB, free: 28.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.1668, allocations: 3.906 kB / 0.6359 GB, free: 28.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.1672, allocations: 125.5 kB / 0.6361 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1672, allocations: 4 kB / 0.6361 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1672, allocations: 0 / 0.6361 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1672, allocations: 0 / 0.6361 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.1673, allocations: 177.6 kB / 0.6362 GB, free: 28.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1673, allocations: 4 kB / 0.6362 GB, free: 28.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.574e-05/0.1674, allocations: 23.86 kB / 0.6363 GB, free: 28.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1674, allocations: 0 / 0.6363 GB, free: 28.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.1674, allocations: 0 / 0.6363 GB, free: 28.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1674, allocations: 8 kB / 0.6363 GB, free: 28.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1675, allocations: 7.922 kB / 0.6363 GB, free: 28.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.168, allocations: 0.7983 MB / 0.637 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.1681, allocations: 85.11 kB / 0.6371 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1681, allocations: 48 / 0.6371 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.1682, allocations: 15.97 kB / 0.6371 GB, free: 27.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.1682, allocations: 7.922 kB / 0.6372 GB, free: 27.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1682, allocations: 0 / 0.6372 GB, free: 27.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.796e-05/0.1683, allocations: 105.4 kB / 0.6373 GB, free: 26.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1683, allocations: 4 kB / 0.6373 GB, free: 26.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003092/0.1686, allocations: 12 kB / 0.6373 GB, free: 26.93 MB / 442.7 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.0001247/0.1687, allocations: 103.2 kB / 0.6374 GB, free: 26.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.1691, allocations: 71.92 kB / 0.6374 GB, free: 26.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1691, allocations: 4 kB / 0.6374 GB, free: 26.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.1692, allocations: 47.89 kB / 0.6375 GB, free: 26.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.1695, allocations: 4 kB / 0.6375 GB, free: 26.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.1698, allocations: 274.1 kB / 0.6377 GB, free: 26.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.1699, allocations: 0.6809 MB / 0.6384 GB, free: 25.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.024e-05/0.17, allocations: 7.984 kB / 0.6384 GB, free: 25.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.17, allocations: 7.438 kB / 0.6384 GB, free: 25.66 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.17, allocations: 0 / 0.6384 GB, free: 25.66 MB / 442.7 MB Notification: Performance of Templates: time 0.002586/0.1726, allocations: 0.6941 MB / 0.6391 GB, free: 24.98 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)