Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 113 kB / 16.42 MB, free: 6.457 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.001219/0.001219, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.229/1.229, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 291.1 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8733/0.8733, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 91.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.364, allocations: 86.99 MB / 0.7671 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002362/0.3664, allocations: 1.468 MB / 0.7685 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002654/0.3667, allocations: 112.5 kB / 0.7686 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.3667, allocations: 0 / 0.7686 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.3668, allocations: 7.938 kB / 0.7686 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.307e-05/0.3668, allocations: 11.88 kB / 0.7686 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.367, allocations: 19.97 kB / 0.7687 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.25e-05/0.3671, allocations: 39.91 kB / 0.7687 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.3672, allocations: 11.98 kB / 0.7687 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.3672, allocations: 19.92 kB / 0.7687 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/0.3673, allocations: 15.92 kB / 0.7687 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3673, allocations: 8 kB / 0.7687 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.787e-05/0.3674, allocations: 23.92 kB / 0.7688 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.3674, allocations: 15.92 kB / 0.7688 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.3675, allocations: 23.86 kB / 0.7688 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3676, allocations: 63.59 kB / 0.7689 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3676, allocations: 0 / 0.7689 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3676, allocations: 0 / 0.7689 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3676, allocations: 0 / 0.7689 GB, free: 2.246 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.0004824/0.3681, allocations: 373.9 kB / 0.7692 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3681, allocations: 8.031 kB / 0.7692 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3682, allocations: 20.78 kB / 0.7692 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.3683, allocations: 172.2 kB / 0.7694 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.3683, allocations: 384 / 0.7694 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.3683, allocations: 4.375 kB / 0.7694 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.3686, allocations: 78.14 kB / 0.7695 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.3686, allocations: 192 / 0.7695 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.3686, allocations: 3.938 kB / 0.7695 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.3686, allocations: 7.984 kB / 0.7695 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.3689, allocations: 71.92 kB / 0.7696 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.3692, allocations: 284.9 kB / 0.7698 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.3695, allocations: 74.47 kB / 0.7699 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3696, allocations: 44.86 kB / 0.77 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.3698, allocations: 109.1 kB / 0.7701 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.3699, allocations: 34.56 kB / 0.7701 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.3699, allocations: 0 / 0.7701 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005394/0.3704, allocations: 145.6 kB / 0.7702 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.3705, allocations: 51.41 kB / 0.7703 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.3706, allocations: 133.2 kB / 0.7704 GB, free: 468 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.3706, allocations: 29.7 kB / 0.7704 GB, free: 432 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.3706, allocations: 96.03 kB / 0.7705 GB, free: 332 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.3706, allocations: 15.83 kB / 0.7705 GB, free: 316 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.3707, allocations: 13.72 kB / 0.7706 GB, free: 296 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3708, allocations: 314.8 kB / 0.7709 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.371, allocations: 43.89 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.3711, allocations: 47.89 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.3714, allocations: 72.78 kB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3714, allocations: 0 / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003281/0.3717, allocations: 117.5 kB / 0.7711 GB, free: 15.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.3717, allocations: 8 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3718, allocations: 0 / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.3718, allocations: 0 / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.3719, allocations: 19.97 kB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3719, allocations: 0 / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.796e-05/0.372, allocations: 11.98 kB / 0.7712 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.372, allocations: 3.938 kB / 0.7712 GB, free: 15.64 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 8.173e-05/0.3721, allocations: 121.8 kB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.3721, allocations: 3.984 kB / 0.7713 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.3725, allocations: 113.5 kB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3725, allocations: 4 kB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3725, allocations: 0 / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.3725, allocations: 81.02 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.3726, allocations: 4 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3727, allocations: 23.91 kB / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.3727, allocations: 3.938 kB / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004064/0.3731, allocations: 201.2 kB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003874/0.3735, allocations: 286.7 kB / 0.772 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001515/0.3737, allocations: 39.95 kB / 0.772 GB, free: 14.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.3738, allocations: 99.27 kB / 0.7721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of Backend: time 3.01e-07/0.3738, allocations: 4 kB / 0.7721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004614/0.3742, allocations: 118.3 kB / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004071/0.3746, allocations: 0.5962 MB / 0.7728 GB, free: 13.85 MB / 0.545 GB Notification: Performance of Templates: time 0.003038/0.3777, allocations: 0.9783 MB / 0.7738 GB, free: 12.88 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)