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.001248/0.001248, allocations: 112.4 kB / 16.42 MB, free: 6.512 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.001231/0.001231, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.245/1.245, allocations: 222.9 MB / 241 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.002054/0.002055, allocations: 287.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8994/0.8994, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 107.8 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3602, allocations: 86.97 MB / 0.7671 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002174/0.3624, allocations: 1.487 MB / 0.7685 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002609/0.3627, allocations: 116.4 kB / 0.7686 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.3627, allocations: 0 / 0.7686 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.3628, allocations: 3.938 kB / 0.7686 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.03e-05/0.3628, allocations: 7.922 kB / 0.7686 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.363, allocations: 23.97 kB / 0.7687 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.292e-05/0.3631, allocations: 47.84 kB / 0.7687 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.3632, allocations: 11.98 kB / 0.7687 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.3632, allocations: 15.94 kB / 0.7687 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.3633, allocations: 23.91 kB / 0.7688 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3633, allocations: 4 kB / 0.7688 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.093e-05/0.3634, allocations: 23.98 kB / 0.7688 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.3634, allocations: 15.92 kB / 0.7688 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.3634, allocations: 19.88 kB / 0.7688 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3636, allocations: 63.44 kB / 0.7689 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3636, allocations: 0 / 0.7689 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3636, allocations: 4 kB / 0.7689 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.3636, allocations: 4 kB / 0.7689 GB, free: 2.094 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.0004539/0.364, allocations: 365.9 kB / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.3641, allocations: 12.03 kB / 0.7692 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.3641, allocations: 4.844 kB / 0.7692 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.3642, allocations: 180.2 kB / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3642, allocations: 12.38 kB / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.3643, allocations: 384 / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.3645, allocations: 78.2 kB / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.3645, allocations: 192 / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3645, allocations: 7.938 kB / 0.7695 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3645, allocations: 3.938 kB / 0.7695 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.3648, allocations: 71.92 kB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.3652, allocations: 288.8 kB / 0.7699 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.3654, allocations: 66.47 kB / 0.7699 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.3655, allocations: 44.91 kB / 0.77 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.3657, allocations: 109.1 kB / 0.7701 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3658, allocations: 38.56 kB / 0.7701 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3658, allocations: 0 / 0.7701 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005417/0.3663, allocations: 149.5 kB / 0.7702 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.3664, allocations: 51.41 kB / 0.7703 GB, free: 452 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.287e-05/0.3665, allocations: 132.5 kB / 0.7704 GB, free: 312 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.3665, allocations: 25.7 kB / 0.7704 GB, free: 280 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.3665, allocations: 96.03 kB / 0.7705 GB, free: 180 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3666, allocations: 15.83 kB / 0.7706 GB, free: 164 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.3666, allocations: 17.66 kB / 0.7706 GB, free: 140 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3667, allocations: 322.8 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3669, allocations: 35.97 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.367, allocations: 35.95 kB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3673, allocations: 80.78 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3673, allocations: 0 / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003235/0.3676, allocations: 117.4 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.3676, allocations: 7.984 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.3676, allocations: 0 / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.3677, allocations: 0 / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3678, allocations: 15.98 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3678, allocations: 4 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.698e-05/0.3679, allocations: 11.98 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3679, allocations: 0 / 0.7712 GB, free: 15.5 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.608e-05/0.368, allocations: 125 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.368, allocations: 4 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.3684, allocations: 121.5 kB / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3684, allocations: 0 / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3684, allocations: 0 / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.3684, allocations: 81.02 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.3684, allocations: 3.984 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3685, allocations: 11.98 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.3686, allocations: 11.94 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000401/0.369, allocations: 196.9 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003896/0.3694, allocations: 282.6 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001516/0.3696, allocations: 44.42 kB / 0.772 GB, free: 14.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.3696, allocations: 99.27 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of Backend: time 2.21e-07/0.3696, allocations: 0 / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.3701, allocations: 122.3 kB / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003907/0.3705, allocations: 0.5923 MB / 0.7728 GB, free: 13.71 MB / 0.545 GB Notification: Performance of Templates: time 0.002864/0.3734, allocations: 0.9957 MB / 0.7738 GB, free: 12.73 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)