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.001183/0.001183, allocations: 109.2 kB / 16.41 MB, free: 6.516 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.00114/0.00114, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.235/1.235, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002115, allocations: 293.7 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.8801/0.8801, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 95.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3532, allocations: 86.97 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002429/0.3556, allocations: 1.484 MB / 0.7685 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002667/0.3559, allocations: 108.5 kB / 0.7686 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.356, allocations: 0 / 0.7686 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.466e-05/0.356, allocations: 3.938 kB / 0.7686 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.247e-05/0.3561, allocations: 19.91 kB / 0.7686 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.3563, allocations: 15.98 kB / 0.7687 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.806e-05/0.3564, allocations: 43.84 kB / 0.7687 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/0.3564, allocations: 11.98 kB / 0.7687 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.3565, allocations: 15.94 kB / 0.7687 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.3565, allocations: 19.91 kB / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.3566, allocations: 4 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.3566, allocations: 27.98 kB / 0.7688 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.3567, allocations: 19.91 kB / 0.7688 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.3567, allocations: 19.88 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.3568, allocations: 55.47 kB / 0.7689 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3569, allocations: 0 / 0.7689 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3569, allocations: 0 / 0.7689 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3569, allocations: 0 / 0.7689 GB, free: 2.09 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.000482/0.3574, allocations: 373.9 kB / 0.7692 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.3574, allocations: 12.03 kB / 0.7692 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.3574, allocations: 8.844 kB / 0.7692 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.3576, allocations: 188.1 kB / 0.7694 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.3576, allocations: 384 / 0.7694 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.3576, allocations: 4.375 kB / 0.7694 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.3578, allocations: 74.22 kB / 0.7695 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.3579, allocations: 192 / 0.7695 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3579, allocations: 3.938 kB / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3579, allocations: 0 / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.3582, allocations: 83.91 kB / 0.7696 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.3585, allocations: 280.8 kB / 0.7698 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.3587, allocations: 74.47 kB / 0.7699 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.3589, allocations: 48.91 kB / 0.77 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.3591, allocations: 101.1 kB / 0.7701 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.3591, allocations: 34.55 kB / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.3591, allocations: 4 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005218/0.3597, allocations: 149.5 kB / 0.7702 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.3597, allocations: 51.41 kB / 0.7703 GB, free: 440 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.3598, allocations: 125.8 kB / 0.7704 GB, free: 304 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3598, allocations: 25.7 kB / 0.7704 GB, free: 272 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.3599, allocations: 96.05 kB / 0.7705 GB, free: 172 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.3599, allocations: 15.78 kB / 0.7705 GB, free: 156 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.3599, allocations: 25.64 kB / 0.7706 GB, free: 124 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.36, allocations: 310.8 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3602, allocations: 39.95 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3603, allocations: 39.97 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.3606, allocations: 72.78 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3606, allocations: 0 / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003288/0.361, allocations: 129.7 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.361, allocations: 4 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.361, allocations: 48 / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.361, allocations: 3.984 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3611, allocations: 15.98 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3611, allocations: 0 / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.3612, allocations: 15.97 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.3612, allocations: 0 / 0.7712 GB, free: 15.48 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 6.995e-05/0.3613, allocations: 124.2 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.3613, allocations: 0 / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.3617, allocations: 125.4 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3617, allocations: 0 / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3617, allocations: 0 / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.3618, allocations: 81.02 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3618, allocations: 0 / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3619, allocations: 19.98 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.3619, allocations: 11.92 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004024/0.3623, allocations: 192.9 kB / 0.7717 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003784/0.3627, allocations: 286.6 kB / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001542/0.3629, allocations: 35.97 kB / 0.772 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.363, allocations: 103.2 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of Backend: time 2.9e-07/0.363, allocations: 0 / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004673/0.3634, allocations: 118.4 kB / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004124/0.3639, allocations: 0.5942 MB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of Templates: time 0.002995/0.3669, allocations: 0.9943 MB / 0.7738 GB, free: 12.72 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)