Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 186.3 kB / 498.1 MB, free: 5.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 99.31 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004051, allocations: 9.656 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3314, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.5345, allocations: 149.3 MB / 1.369 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.5348, allocations: 75.95 kB / 1.369 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003339/0.5382, allocations: 1.084 MB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.347e-06/0.5382, allocations: 0 / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.5382, allocations: 4 kB / 1.37 GB, free: 11.55 MB / 0.8698 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.0005552/0.5388, allocations: 383.1 kB / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.5388, allocations: 8.031 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.5389, allocations: 34.56 kB / 1.37 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.5389, allocations: 11.91 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.5391, allocations: 171 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.5391, allocations: 4 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.5391, allocations: 0 / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.5394, allocations: 89.58 kB / 1.37 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.5395, allocations: 4 kB / 1.371 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.5395, allocations: 4 kB / 1.371 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.5395, allocations: 3.938 kB / 1.371 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.5398, allocations: 95.91 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.5405, allocations: 336.8 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.5407, allocations: 82.47 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.5409, allocations: 109.2 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.541, allocations: 30.56 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.541, allocations: 0 / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0006194/0.5416, allocations: 185.6 kB / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.5416, allocations: 59.36 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.5418, allocations: 112.9 kB / 1.371 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.5418, allocations: 33.64 kB / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.5418, allocations: 96.03 kB / 1.372 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.5419, allocations: 7.906 kB / 1.372 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.5419, allocations: 0 / 1.372 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.542, allocations: 318.8 kB / 1.372 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.5422, allocations: 51.91 kB / 1.372 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.5423, allocations: 47.95 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.5425, allocations: 51.95 kB / 1.372 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5425, allocations: 0 / 1.372 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003455/0.5428, allocations: 137.5 kB / 1.372 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.5429, allocations: 4 kB / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5429, allocations: 0 / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5429, allocations: 0 / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.5431, allocations: 27.97 kB / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5431, allocations: 0 / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.5432, allocations: 23.94 kB / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.5432, allocations: 4 kB / 1.372 GB, free: 8.84 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.5433, allocations: 113.8 kB / 1.372 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.5434, allocations: 8.234 kB / 1.372 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.5438, allocations: 157.4 kB / 1.373 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5438, allocations: 0 / 1.373 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5438, allocations: 0 / 1.373 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5438, allocations: 0 / 1.373 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.544, allocations: 185.5 kB / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.544, allocations: 0 / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.5441, allocations: 23.97 kB / 1.373 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5442, allocations: 4 kB / 1.373 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.5442, allocations: 4 kB / 1.373 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5442, allocations: 0 / 1.373 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5442, allocations: 0 / 1.373 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.5446, allocations: 235.4 kB / 1.373 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.5447, allocations: 81.02 kB / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.5447, allocations: 11.92 kB / 1.373 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.5448, allocations: 19.98 kB / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.5449, allocations: 0 / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.5449, allocations: 4 kB / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.16e-05/0.5449, allocations: 111.2 kB / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.545, allocations: 0 / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002077/0.5452, allocations: 8 kB / 1.373 GB, free: 7.785 MB / 0.8698 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 (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.0007561/0.5459, allocations: 0.7706 MB / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.5463, allocations: 99.92 kB / 1.374 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5463, allocations: 0 / 1.374 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.5465, allocations: 51.95 kB / 1.374 GB, free: 6.84 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.5466, allocations: 12 kB / 1.374 GB, free: 6.828 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.5472, allocations: 190.3 kB / 1.374 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.5475, allocations: 0.6926 MB / 1.375 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.817e-05/0.5475, allocations: 8 kB / 1.375 GB, free: 5.875 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.5476, allocations: 23.42 kB / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of SimCode: time 3.51e-07/0.5476, allocations: 0 / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.5611, allocations: 1.507 MB / 1.376 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.5613, allocations: 174.2 kB / 1.377 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.096, allocations: 0 / 1.377 GB, free: 4.219 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat does not exist to compare? outputFormat=mat