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.001222/0.001222, allocations: 107.9 kB / 16.41 MB, free: 6.508 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.001215/0.001215, allocations: 187 kB / 17.34 MB, free: 5.742 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 288.5 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.8933/0.8933, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 96.28 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4024, allocations: 86.98 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002544/0.4049, allocations: 1.487 MB / 0.7685 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002857/0.4053, allocations: 108.5 kB / 0.7686 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.4053, allocations: 4 kB / 0.7686 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.24e-05/0.4054, allocations: 3.938 kB / 0.7686 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.773e-05/0.4054, allocations: 11.91 kB / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.4056, allocations: 15.98 kB / 0.7686 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.334e-05/0.4057, allocations: 47.84 kB / 0.7687 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.4058, allocations: 12 kB / 0.7687 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.947e-05/0.4059, allocations: 15.92 kB / 0.7687 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/0.4059, allocations: 23.91 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.406, allocations: 4 kB / 0.7687 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.06e-05/0.406, allocations: 23.98 kB / 0.7688 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.4061, allocations: 19.84 kB / 0.7688 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.4061, allocations: 23.88 kB / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.4063, allocations: 51.47 kB / 0.7689 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4063, allocations: 4 kB / 0.7689 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4063, allocations: 0 / 0.7689 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.4063, allocations: 0 / 0.7689 GB, free: 2.086 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.0005027/0.4068, allocations: 377.9 kB / 0.7692 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.4068, allocations: 8.031 kB / 0.7692 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.4069, allocations: 8.844 kB / 0.7692 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.407, allocations: 188.1 kB / 0.7694 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.407, allocations: 384 / 0.7694 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.407, allocations: 384 / 0.7694 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.4073, allocations: 78.22 kB / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4073, allocations: 192 / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4073, allocations: 3.938 kB / 0.7695 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4073, allocations: 0 / 0.7695 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.4076, allocations: 75.92 kB / 0.7696 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.408, allocations: 288.8 kB / 0.7698 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.4082, allocations: 70.47 kB / 0.7699 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.4083, allocations: 44.91 kB / 0.77 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.4086, allocations: 109.1 kB / 0.7701 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.4086, allocations: 34.55 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4086, allocations: 0 / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005317/0.4091, allocations: 145.5 kB / 0.7702 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.4092, allocations: 55.41 kB / 0.7703 GB, free: 440 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.4093, allocations: 128 kB / 0.7704 GB, free: 304 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.4093, allocations: 25.7 kB / 0.7704 GB, free: 272 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.4093, allocations: 96.05 kB / 0.7705 GB, free: 172 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.4094, allocations: 7.844 kB / 0.7705 GB, free: 164 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.4094, allocations: 17.72 kB / 0.7705 GB, free: 140 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4095, allocations: 322.8 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.4097, allocations: 43.95 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.4098, allocations: 31.97 kB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.4101, allocations: 76.78 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4101, allocations: 3.938 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003175/0.4104, allocations: 125.5 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4105, allocations: 8 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4105, allocations: 0 / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4105, allocations: 0 / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.4106, allocations: 11.98 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4106, allocations: 0 / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.4107, allocations: 19.97 kB / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.4107, allocations: 3.938 kB / 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 8.035e-05/0.4108, allocations: 120.2 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.4108, allocations: 4.328 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.4112, allocations: 125.4 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.4112, allocations: 4 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4112, allocations: 0 / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4112, allocations: 4 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.4114, allocations: 185.5 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4114, allocations: 0 / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.882e-05/0.4115, allocations: 15.98 kB / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4115, allocations: 0 / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.4115, allocations: 0 / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4115, allocations: 0 / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4115, allocations: 0 / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.4119, allocations: 211.4 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.4119, allocations: 81.02 kB / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.4119, allocations: 3.938 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.412, allocations: 15.97 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.4121, allocations: 12 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.4121, allocations: 0 / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.309e-05/0.4121, allocations: 95.27 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4122, allocations: 0 / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002251/0.4124, allocations: 8 kB / 0.772 GB, free: 14.52 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.0001477/0.4125, allocations: 111.2 kB / 0.7721 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.4129, allocations: 75.92 kB / 0.7722 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.4129, allocations: 4 kB / 0.7722 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.413, allocations: 43.89 kB / 0.7722 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.4133, allocations: 7.938 kB / 0.7722 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.4137, allocations: 179.2 kB / 0.7724 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.414, allocations: 0.6963 MB / 0.7731 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.414, allocations: 7.438 kB / 0.7731 GB, free: 13.33 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.414, allocations: 0 / 0.7731 GB, free: 13.33 MB / 0.545 GB Notification: Performance of Templates: time 0.0024/0.4164, allocations: 0.9008 MB / 0.774 GB, free: 12.44 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)