Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0009369/0.000937, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0009717/0.0009714, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5834/0.5834, allocations: 95.58 MB / 366 MB, free: 10.38 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005729/0.000573, allocations: 31.89 kB / 446.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3126, allocations: 70.33 MB / 0.505 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001551/0.3142, allocations: 1.157 MB / 0.5061 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002831/0.3145, allocations: 88.3 kB / 0.5062 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.3146, allocations: 0 / 0.5062 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.18e-05/0.3146, allocations: 0 / 0.5062 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.001e-05/0.3147, allocations: 19.97 kB / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.3149, allocations: 15.92 kB / 0.5062 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.159e-05/0.315, allocations: 27.95 kB / 0.5063 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3151, allocations: 11.94 kB / 0.5063 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.681e-05/0.3152, allocations: 15.92 kB / 0.5063 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.3152, allocations: 19.91 kB / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.3153, allocations: 4 kB / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.138e-05/0.3153, allocations: 19.98 kB / 0.5063 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.3154, allocations: 8 kB / 0.5063 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.3154, allocations: 29.64 kB / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.527e-05/0.3155, allocations: 37.89 kB / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.3155, allocations: 0 / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3155, allocations: 4 kB / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.3155, allocations: 0 / 0.5064 GB, free: 15.09 MB / 382.1 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.000434/0.3159, allocations: 383.1 kB / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.316, allocations: 11.98 kB / 0.5068 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.316, allocations: 7.906 kB / 0.5068 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.3161, allocations: 174.9 kB / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3162, allocations: 4 kB / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.3162, allocations: 4 kB / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.3164, allocations: 89.61 kB / 0.5071 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3165, allocations: 4 kB / 0.5071 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3165, allocations: 0 / 0.5071 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3165, allocations: 3.938 kB / 0.5071 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.3168, allocations: 95.92 kB / 0.5072 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.3171, allocations: 288.9 kB / 0.5074 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.3173, allocations: 82.45 kB / 0.5075 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/0.3175, allocations: 109.2 kB / 0.5076 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.3175, allocations: 34.5 kB / 0.5076 GB, free: 13.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3175, allocations: 0 / 0.5076 GB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005237/0.318, allocations: 181.5 kB / 0.5078 GB, free: 13.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.3181, allocations: 51.41 kB / 0.5079 GB, free: 13.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/0.3182, allocations: 129.6 kB / 0.508 GB, free: 13.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.3182, allocations: 33.7 kB / 0.508 GB, free: 13.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.3182, allocations: 84.14 kB / 0.5081 GB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.3182, allocations: 11.84 kB / 0.5081 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.3182, allocations: 4 kB / 0.5081 GB, free: 13.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.3183, allocations: 314.8 kB / 0.5084 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3184, allocations: 51.95 kB / 0.5085 GB, free: 12.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.3186, allocations: 47.97 kB / 0.5085 GB, free: 12.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.3187, allocations: 51.89 kB / 0.5086 GB, free: 12.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3187, allocations: 0 / 0.5086 GB, free: 12.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002919/0.319, allocations: 137.5 kB / 0.5087 GB, free: 12.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.319, allocations: 4 kB / 0.5087 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.319, allocations: 0 / 0.5087 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3191, allocations: 7.922 kB / 0.5087 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3192, allocations: 23.98 kB / 0.5087 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3192, allocations: 0 / 0.5087 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.3193, allocations: 19.98 kB / 0.5087 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3193, allocations: 0 / 0.5087 GB, free: 12.46 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.668e-05/0.3194, allocations: 109.8 kB / 0.5089 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.3194, allocations: 19.84 kB / 0.5089 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.3197, allocations: 145.5 kB / 0.509 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3198, allocations: 0 / 0.509 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3198, allocations: 0 / 0.509 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3198, allocations: 0 / 0.509 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.3199, allocations: 181.6 kB / 0.5092 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3199, allocations: 0 / 0.5092 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.824e-05/0.32, allocations: 19.98 kB / 0.5092 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.32, allocations: 7.938 kB / 0.5092 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.32, allocations: 4 kB / 0.5092 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.32, allocations: 0 / 0.5092 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.32, allocations: 3.938 kB / 0.5092 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.3204, allocations: 231.3 kB / 0.5094 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.3204, allocations: 85.09 kB / 0.5095 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.3204, allocations: 4.375 kB / 0.5095 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3206, allocations: 19.98 kB / 0.5095 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.3206, allocations: 3.984 kB / 0.5095 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.3206, allocations: 8 kB / 0.5096 GB, free: 11.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.796e-05/0.3207, allocations: 99.27 kB / 0.5096 GB, free: 11.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3207, allocations: 0 / 0.5096 GB, free: 11.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.3209, allocations: 8 kB / 0.5097 GB, free: 11.43 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001114/0.321, allocations: 95.25 kB / 0.5097 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000331/0.3213, allocations: 111.9 kB / 0.5099 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3214, allocations: 4 kB / 0.5099 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.3215, allocations: 47.91 kB / 0.5099 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.3217, allocations: 4 kB / 0.5099 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.322, allocations: 160.5 kB / 0.5101 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.3221, allocations: 0.6965 MB / 0.5107 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.886e-05/0.3221, allocations: 4 kB / 0.5107 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.3222, allocations: 7.438 kB / 0.5108 GB, free: 10.24 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3222, allocations: 0 / 0.5108 GB, free: 10.24 MB / 382.1 MB Notification: Performance of Templates: time 0.002734/0.3249, allocations: 0.6292 MB / 0.5114 GB, free: 9.613 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) Environment - environmentSimulation: