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.001276/0.001276, allocations: 110.2 kB / 16.41 MB, free: 6.5 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.001248/0.001248, allocations: 189.2 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002531/0.002531, allocations: 289.9 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.9799/0.9799, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 95.86 kB / 0.6821 GB, free: 6.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4094, allocations: 86.97 MB / 0.7671 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002548/0.4119, allocations: 1.477 MB / 0.7685 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002932/0.4122, allocations: 104.5 kB / 0.7686 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.4123, allocations: 0 / 0.7686 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.478e-05/0.4123, allocations: 7.922 kB / 0.7686 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.4124, allocations: 11.92 kB / 0.7686 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.4125, allocations: 23.91 kB / 0.7686 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.067e-05/0.4126, allocations: 39.92 kB / 0.7687 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.4127, allocations: 7.984 kB / 0.7687 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.4128, allocations: 15.94 kB / 0.7687 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.4128, allocations: 27.91 kB / 0.7687 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.4128, allocations: 4 kB / 0.7687 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.559e-05/0.4129, allocations: 23.98 kB / 0.7688 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.4129, allocations: 19.91 kB / 0.7688 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.413, allocations: 15.88 kB / 0.7688 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.4131, allocations: 55.61 kB / 0.7688 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4131, allocations: 0 / 0.7688 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4131, allocations: 7.922 kB / 0.7689 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.4131, allocations: 0 / 0.7689 GB, free: 1.977 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.0005381/0.4136, allocations: 385 kB / 0.7692 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.4137, allocations: 8.031 kB / 0.7692 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.4137, allocations: 12.83 kB / 0.7692 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.4138, allocations: 176.3 kB / 0.7694 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.4138, allocations: 384 / 0.7694 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.4139, allocations: 4.375 kB / 0.7694 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.4141, allocations: 74.22 kB / 0.7695 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4141, allocations: 4.188 kB / 0.7695 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.4141, allocations: 3.938 kB / 0.7695 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4141, allocations: 4 kB / 0.7695 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.4145, allocations: 79.84 kB / 0.7696 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.4148, allocations: 284.9 kB / 0.7698 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.4151, allocations: 74.45 kB / 0.7699 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.4152, allocations: 40.91 kB / 0.77 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/0.4155, allocations: 109.1 kB / 0.7701 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.4155, allocations: 34.56 kB / 0.7701 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4155, allocations: 0 / 0.7701 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005855/0.4161, allocations: 149.5 kB / 0.7702 GB, free: 388 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.4161, allocations: 55.41 kB / 0.7703 GB, free: 320 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.4162, allocations: 125.8 kB / 0.7704 GB, free: 184 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.4162, allocations: 29.7 kB / 0.7704 GB, free: 148 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.4163, allocations: 88.14 kB / 0.7705 GB, free: 56 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.4163, allocations: 11.91 kB / 0.7705 GB, free: 44 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.4164, allocations: 17.7 kB / 0.7705 GB, free: 20 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4165, allocations: 322.8 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.4167, allocations: 39.91 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.4168, allocations: 35.97 kB / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.4171, allocations: 76.72 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4171, allocations: 3.938 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003596/0.4175, allocations: 113.6 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4175, allocations: 8 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.4175, allocations: 0 / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.4175, allocations: 0 / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.4176, allocations: 15.98 kB / 0.7711 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4177, allocations: 7.969 kB / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.4177, allocations: 7.984 kB / 0.7711 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-06/0.4177, allocations: 8 kB / 0.7712 GB, free: 15.38 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 9.855e-05/0.4178, allocations: 120.2 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.4179, allocations: 3.953 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003936/0.4183, allocations: 121.4 kB / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4183, allocations: 0 / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4183, allocations: 8 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.4183, allocations: 0 / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.4185, allocations: 181.6 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4185, allocations: 3.938 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-05/0.4186, allocations: 15.98 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4186, allocations: 0 / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.4186, allocations: 0 / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4186, allocations: 0 / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4186, allocations: 4 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.419, allocations: 215.7 kB / 0.7718 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.4191, allocations: 81.06 kB / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.4191, allocations: 8 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.4192, allocations: 12.02 kB / 0.7719 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.4192, allocations: 11.98 kB / 0.7719 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.4192, allocations: 4 kB / 0.7719 GB, free: 14.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.62e-05/0.4193, allocations: 95.27 kB / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4193, allocations: 0 / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002323/0.4195, allocations: 15.94 kB / 0.772 GB, free: 14.39 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.0001458/0.4197, allocations: 107.2 kB / 0.7721 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.4201, allocations: 75.92 kB / 0.7722 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4201, allocations: 4 kB / 0.7722 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.4202, allocations: 43.89 kB / 0.7722 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.4205, allocations: 13.5 kB / 0.7723 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.4208, allocations: 149.5 kB / 0.7724 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.4211, allocations: 0.6924 MB / 0.7731 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.4212, allocations: 0 / 0.7731 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.4212, allocations: 15.44 kB / 0.7731 GB, free: 13.24 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4212, allocations: 0 / 0.7731 GB, free: 13.24 MB / 0.545 GB Notification: Performance of Templates: time 0.003325/0.4245, allocations: 0.7957 MB / 0.7739 GB, free: 12.45 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)