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.001385/0.001384, allocations: 107.2 kB / 16.41 MB, free: 6.492 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.001356/0.001356, allocations: 192.1 kB / 17.34 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002062, allocations: 288.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.935/0.935, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 91.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.416, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002298/0.4184, allocations: 1.487 MB / 0.7685 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002659/0.4187, allocations: 104.5 kB / 0.7686 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.4187, allocations: 0 / 0.7686 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.4188, allocations: 3.938 kB / 0.7686 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.4188, allocations: 11.92 kB / 0.7686 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.419, allocations: 27.91 kB / 0.7686 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.806e-05/0.4191, allocations: 39.91 kB / 0.7687 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.4192, allocations: 12 kB / 0.7687 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.4192, allocations: 15.92 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.4193, allocations: 19.92 kB / 0.7687 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.4193, allocations: 4 kB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.923e-05/0.4194, allocations: 23.97 kB / 0.7688 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.4194, allocations: 15.92 kB / 0.7688 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.4194, allocations: 27.86 kB / 0.7688 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.4196, allocations: 55.47 kB / 0.7688 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4196, allocations: 0 / 0.7688 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.936e-06/0.4196, allocations: 0 / 0.7688 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.4196, allocations: 3.938 kB / 0.7689 GB, free: 2.074 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.0004702/0.4201, allocations: 369.9 kB / 0.7692 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.4201, allocations: 12.03 kB / 0.7692 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.4201, allocations: 8.844 kB / 0.7692 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.4202, allocations: 188.2 kB / 0.7694 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.4203, allocations: 4.375 kB / 0.7694 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.4203, allocations: 384 / 0.7694 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.4205, allocations: 74.2 kB / 0.7695 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.4205, allocations: 4.188 kB / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4205, allocations: 3.938 kB / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.4206, allocations: 0 / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.4208, allocations: 75.92 kB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.4212, allocations: 288.8 kB / 0.7698 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.4214, allocations: 70.41 kB / 0.7699 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.4215, allocations: 48.92 kB / 0.7699 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.4217, allocations: 109.1 kB / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.4218, allocations: 34.56 kB / 0.7701 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4218, allocations: 0 / 0.7701 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005215/0.4223, allocations: 149.5 kB / 0.7702 GB, free: 488 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.4223, allocations: 51.41 kB / 0.7703 GB, free: 424 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/0.4224, allocations: 127.8 kB / 0.7704 GB, free: 288 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.4225, allocations: 25.7 kB / 0.7704 GB, free: 256 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.4225, allocations: 100 kB / 0.7705 GB, free: 152 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.4225, allocations: 11.84 kB / 0.7705 GB, free: 140 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.4226, allocations: 17.72 kB / 0.7705 GB, free: 116 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4227, allocations: 314.8 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.4228, allocations: 39.91 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.423, allocations: 39.95 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.4233, allocations: 84.72 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4233, allocations: 3.938 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003185/0.4236, allocations: 113.5 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.4236, allocations: 4 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4236, allocations: 4 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.4237, allocations: 0 / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.4238, allocations: 15.98 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.4238, allocations: 0 / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.4239, allocations: 11.98 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.4239, allocations: 0 / 0.7711 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 7.321e-05/0.424, allocations: 124.2 kB / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.424, allocations: 4 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.4244, allocations: 121.5 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4244, allocations: 0 / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4244, allocations: 0 / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4244, allocations: 3.984 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.4246, allocations: 185.5 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4246, allocations: 0 / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.435e-05/0.4247, allocations: 23.97 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.4247, allocations: 0 / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.4247, allocations: 4 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.4247, allocations: 0 / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4247, allocations: 0 / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.4251, allocations: 215.3 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.4251, allocations: 81.02 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.4251, allocations: 0 / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4252, allocations: 12.41 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.4253, allocations: 11.92 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.4253, allocations: 4 kB / 0.7719 GB, free: 14.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.706e-05/0.4254, allocations: 98.14 kB / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4254, allocations: 0 / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002137/0.4256, allocations: 8 kB / 0.772 GB, free: 14.5 MB / 0.545 GB 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.0001165/0.4257, allocations: 99.25 kB / 0.7721 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003404/0.426, allocations: 91.83 kB / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4261, allocations: 0 / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.4262, allocations: 39.91 kB / 0.7722 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.4264, allocations: 19.92 kB / 0.7722 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.4268, allocations: 175.2 kB / 0.7724 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.427, allocations: 0.6885 MB / 0.7731 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.427, allocations: 15.44 kB / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.427, allocations: 0 / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of Templates: time 0.00221/0.4293, allocations: 0.908 MB / 0.774 GB, free: 12.41 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)