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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8625/0.8625, allocations: 143.4 MB / 159.2 MB, free: 4.809 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 188.5 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009309/0.0009309, allocations: 103.4 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002019/0.002019, allocations: 279 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 83.88 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3714, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002522/0.374, allocations: 1.544 MB / 0.7694 GB, free: 26.11 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003477/0.3744, allocations: 95.75 kB / 0.7695 GB, free: 26.02 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.3744, allocations: 3.938 kB / 0.7695 GB, free: 26.02 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 5.704e-05/0.3745, allocations: 7.922 kB / 0.7695 GB, free: 26.01 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.3746, allocations: 15.92 kB / 0.7696 GB, free: 25.99 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.3748, allocations: 15.98 kB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.813e-05/0.3748, allocations: 39.86 kB / 0.7696 GB, free: 25.94 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.3749, allocations: 7.984 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.326e-05/0.375, allocations: 19.92 kB / 0.7696 GB, free: 25.91 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.268e-05/0.375, allocations: 23.86 kB / 0.7697 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.3751, allocations: 4 kB / 0.7697 GB, free: 25.88 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-05/0.3751, allocations: 15.98 kB / 0.7697 GB, free: 25.87 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.3752, allocations: 15.97 kB / 0.7697 GB, free: 25.85 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.3752, allocations: 23.81 kB / 0.7697 GB, free: 25.83 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.3753, allocations: 54.53 kB / 0.7698 GB, free: 25.78 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3753, allocations: 0 / 0.7698 GB, free: 25.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3753, allocations: 0 / 0.7698 GB, free: 25.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.3754, allocations: 0 / 0.7698 GB, free: 25.78 MB / 458.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.0004571/0.3758, allocations: 371.3 kB / 0.7701 GB, free: 25.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3759, allocations: 12.03 kB / 0.7701 GB, free: 25.35 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.3759, allocations: 12.83 kB / 0.7702 GB, free: 25.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.725e-05/0.376, allocations: 181.5 kB / 0.7703 GB, free: 25.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.376, allocations: 384 / 0.7703 GB, free: 25.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.376, allocations: 8.359 kB / 0.7703 GB, free: 25.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.3763, allocations: 74.2 kB / 0.7704 GB, free: 25.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3763, allocations: 8.062 kB / 0.7704 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3763, allocations: 3.938 kB / 0.7704 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3763, allocations: 8 kB / 0.7704 GB, free: 25.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.3766, allocations: 75.92 kB / 0.7705 GB, free: 24.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.3769, allocations: 277 kB / 0.7708 GB, free: 24.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.3771, allocations: 70.47 kB / 0.7708 GB, free: 24.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3773, allocations: 48.91 kB / 0.7709 GB, free: 24.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.3775, allocations: 112.9 kB / 0.771 GB, free: 24.37 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.3775, allocations: 34.56 kB / 0.771 GB, free: 24.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3775, allocations: 0 / 0.771 GB, free: 24.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004958/0.378, allocations: 145.6 kB / 0.7712 GB, free: 24.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.378, allocations: 51.41 kB / 0.7712 GB, free: 24.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/0.3781, allocations: 129.2 kB / 0.7713 GB, free: 23.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.3781, allocations: 29.7 kB / 0.7714 GB, free: 23.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.3782, allocations: 92.14 kB / 0.7714 GB, free: 23.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.3782, allocations: 15.73 kB / 0.7715 GB, free: 23.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.3782, allocations: 21.72 kB / 0.7715 GB, free: 23.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.683e-05/0.3783, allocations: 314.8 kB / 0.7718 GB, free: 23.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3785, allocations: 35.95 kB / 0.7718 GB, free: 23.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3786, allocations: 51.83 kB / 0.7719 GB, free: 23.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.3788, allocations: 72.78 kB / 0.7719 GB, free: 23.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3788, allocations: 7.938 kB / 0.7719 GB, free: 23.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002795/0.3791, allocations: 109.6 kB / 0.772 GB, free: 23.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3791, allocations: 4 kB / 0.772 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3792, allocations: 0 / 0.772 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3792, allocations: 0 / 0.772 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3793, allocations: 19.97 kB / 0.7721 GB, free: 23.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3793, allocations: 0 / 0.7721 GB, free: 23.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.3794, allocations: 15.89 kB / 0.7721 GB, free: 23.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.3794, allocations: 0 / 0.7721 GB, free: 23.17 MB / 458.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.695e-05/0.3795, allocations: 127 kB / 0.7722 GB, free: 23.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.3795, allocations: 4 kB / 0.7722 GB, free: 23.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.3798, allocations: 117.5 kB / 0.7723 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3798, allocations: 384 / 0.7723 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3798, allocations: 0 / 0.7723 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3799, allocations: 0 / 0.7723 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.38, allocations: 193.5 kB / 0.7725 GB, free: 22.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.38, allocations: 0 / 0.7725 GB, free: 22.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.394e-05/0.3801, allocations: 11.98 kB / 0.7725 GB, free: 22.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3801, allocations: 3.984 kB / 0.7725 GB, free: 22.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.3801, allocations: 4 kB / 0.7725 GB, free: 22.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3801, allocations: 3.984 kB / 0.7725 GB, free: 22.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3801, allocations: 0 / 0.7725 GB, free: 22.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.3807, allocations: 0.8096 MB / 0.7733 GB, free: 21.78 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.3807, allocations: 77.11 kB / 0.7734 GB, free: 21.69 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.3807, allocations: 0 / 0.7734 GB, free: 21.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.72e-05/0.3808, allocations: 19.98 kB / 0.7734 GB, free: 21.67 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.3809, allocations: 7.922 kB / 0.7734 GB, free: 21.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.3809, allocations: 4 kB / 0.7734 GB, free: 21.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.746e-05/0.3809, allocations: 99.27 kB / 0.7735 GB, free: 21.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3809, allocations: 0 / 0.7735 GB, free: 21.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.3813, allocations: 8 kB / 0.7735 GB, free: 21.55 MB / 458.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.0001279/0.3814, allocations: 99.77 kB / 0.7736 GB, free: 21.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.3817, allocations: 83.92 kB / 0.7737 GB, free: 21.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3817, allocations: 0 / 0.7737 GB, free: 21.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.3819, allocations: 43.89 kB / 0.7737 GB, free: 21.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.3821, allocations: 5.828 kB / 0.7737 GB, free: 21.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.3825, allocations: 278.1 kB / 0.774 GB, free: 21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.3826, allocations: 0.6848 MB / 0.7747 GB, free: 20.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.817e-05/0.3826, allocations: 7.984 kB / 0.7747 GB, free: 20.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.3826, allocations: 7.438 kB / 0.7747 GB, free: 20.28 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3826, allocations: 0 / 0.7747 GB, free: 20.28 MB / 458.7 MB Notification: Performance of Templates: time 0.002507/0.3852, allocations: 0.6759 MB / 0.7754 GB, free: 19.61 MB / 458.7 MB 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)