Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001187/0.001187, allocations: 109.5 kB / 16.42 MB, free: 6.508 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.001176/0.001176, allocations: 186.5 kB / 17.35 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.234/1.234, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 295.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9025/0.9025, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 96.27 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3669, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002433/0.3694, allocations: 1.488 MB / 0.7685 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002851/0.3697, allocations: 112.5 kB / 0.7686 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.3698, allocations: 0 / 0.7686 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.3698, allocations: 3.938 kB / 0.7686 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.3699, allocations: 11.86 kB / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.3701, allocations: 23.97 kB / 0.7687 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.819e-05/0.3701, allocations: 47.84 kB / 0.7687 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.3702, allocations: 8 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.3703, allocations: 19.92 kB / 0.7687 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.302e-05/0.3703, allocations: 19.91 kB / 0.7688 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.3704, allocations: 7.938 kB / 0.7688 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.117e-05/0.3704, allocations: 23.98 kB / 0.7688 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.3705, allocations: 15.92 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.3705, allocations: 23.86 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.3706, allocations: 55.47 kB / 0.7689 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3706, allocations: 0 / 0.7689 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3706, allocations: 4 kB / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3707, allocations: 4 kB / 0.7689 GB, free: 2.051 MB / 0.5294 GB 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.0004738/0.3711, allocations: 373.9 kB / 0.7692 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3712, allocations: 12.03 kB / 0.7692 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.3712, allocations: 4.844 kB / 0.7693 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.3713, allocations: 180.2 kB / 0.7694 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3713, allocations: 4.375 kB / 0.7694 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.3714, allocations: 4.375 kB / 0.7694 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.3716, allocations: 74.16 kB / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3716, allocations: 192 / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3716, allocations: 7.938 kB / 0.7695 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3716, allocations: 0 / 0.7695 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.3719, allocations: 75.92 kB / 0.7696 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.3723, allocations: 284.9 kB / 0.7699 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.3725, allocations: 70.41 kB / 0.7699 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.3726, allocations: 48.91 kB / 0.77 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.3729, allocations: 109.1 kB / 0.7701 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.3729, allocations: 34.56 kB / 0.7701 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.3729, allocations: 0 / 0.7701 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005351/0.3734, allocations: 145.6 kB / 0.7702 GB, free: 476 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.3735, allocations: 55.41 kB / 0.7703 GB, free: 408 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.3736, allocations: 125.8 kB / 0.7704 GB, free: 272 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.3736, allocations: 25.7 kB / 0.7704 GB, free: 240 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.3736, allocations: 96.05 kB / 0.7705 GB, free: 140 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.3737, allocations: 11.78 kB / 0.7705 GB, free: 128 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.3737, allocations: 17.7 kB / 0.7706 GB, free: 104 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3738, allocations: 318.8 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.374, allocations: 43.89 kB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.3741, allocations: 31.97 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.3744, allocations: 84.77 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3744, allocations: 8 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003223/0.3747, allocations: 109.5 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3747, allocations: 4 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.3747, allocations: 0 / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3748, allocations: 0 / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3749, allocations: 27.91 kB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3749, allocations: 3.938 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.643e-05/0.375, allocations: 11.98 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.375, allocations: 0 / 0.7712 GB, free: 15.45 MB / 0.545 GB 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.507e-05/0.3751, allocations: 117.8 kB / 0.7713 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.3751, allocations: 4 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.3755, allocations: 121.5 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3755, allocations: 0 / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3755, allocations: 0 / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.3755, allocations: 81.02 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.3755, allocations: 0 / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3757, allocations: 15.98 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.3757, allocations: 11.92 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003979/0.3761, allocations: 200.8 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000375/0.3765, allocations: 282.7 kB / 0.772 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001485/0.3766, allocations: 40.42 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.3767, allocations: 102.4 kB / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of Backend: time 1.993e-06/0.3767, allocations: 0 / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.3772, allocations: 128.9 kB / 0.7722 GB, free: 14.31 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004164/0.3776, allocations: 0.5962 MB / 0.7728 GB, free: 13.66 MB / 0.545 GB Notification: Performance of Templates: time 0.002856/0.3805, allocations: 0.9866 MB / 0.7738 GB, free: 12.68 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)