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/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.497/1.497, allocations: 141.8 MB / 149.3 MB, free: 9.242 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001314, allocations: 165 kB / 182.2 MB, free: 9.477 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.777/1.777, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 92.03 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 283.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.94e-05, allocations: 8 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.6536, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/0.8573, allocations: 107.9 MB / 0.8629 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003997/0.8579, allocations: 67.97 kB / 0.8629 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004278/0.8622, allocations: 1.073 MB / 0.864 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.096e-06/0.8622, allocations: 0 / 0.864 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.8623, allocations: 4 kB / 0.864 GB, free: 2.699 MB / 0.5261 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.0006813/0.863, allocations: 374.3 kB / 0.8643 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.839e-05/0.863, allocations: 8.031 kB / 0.8644 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.8631, allocations: 4 kB / 0.8644 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.8633, allocations: 167 kB / 0.8645 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.8634, allocations: 7.953 kB / 0.8645 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.8634, allocations: 0 / 0.8645 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001492/0.8636, allocations: 31.92 kB / 0.8646 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.8637, allocations: 53.67 kB / 0.8646 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.8637, allocations: 4 kB / 0.8646 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.8637, allocations: 0 / 0.8646 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.8638, allocations: 4 kB / 0.8646 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007419/0.8645, allocations: 301.4 kB / 0.8649 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.8646, allocations: 46.56 kB / 0.8649 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.8647, allocations: 20.94 kB / 0.865 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.865, allocations: 105.1 kB / 0.8651 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.865, allocations: 38.5 kB / 0.8651 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.865, allocations: 0 / 0.8651 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003668/0.8654, allocations: 85.5 kB / 0.8652 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.8655, allocations: 51.41 kB / 0.8652 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02679/0.8923, allocations: 121 kB / 0.8653 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.8924, allocations: 25.7 kB / 0.8654 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.8926, allocations: 92.14 kB / 0.8655 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.8926, allocations: 7.812 kB / 0.8655 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-06/0.8926, allocations: 0 / 0.8655 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.8929, allocations: 322.8 kB / 0.8658 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.503e-05/0.8929, allocations: 16 kB / 0.8658 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.893, allocations: 15.98 kB / 0.8658 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.8932, allocations: 19.98 kB / 0.8658 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.8932, allocations: 0 / 0.8658 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002586/0.8935, allocations: 81.56 kB / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.8935, allocations: 4 kB / 0.8659 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.8935, allocations: 7.938 kB / 0.8659 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.8936, allocations: 0 / 0.8659 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.8938, allocations: 27.97 kB / 0.8659 GB, free: 492 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.8938, allocations: 0 / 0.8659 GB, free: 492 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.8939, allocations: 15.98 kB / 0.866 GB, free: 476 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.894, allocations: 4 kB / 0.866 GB, free: 472 kB / 0.5261 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 () * 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.0001088/0.8941, allocations: 101 kB / 0.8661 GB, free: 364 kB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002295/0.8943, allocations: 85.52 kB / 0.8661 GB, free: 272 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.8944, allocations: 3.906 kB / 0.8661 GB, free: 268 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.8947, allocations: 89.94 kB / 0.8662 GB, free: 168 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.8947, allocations: 4 kB / 0.8662 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8947, allocations: 0 / 0.8662 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8947, allocations: 0 / 0.8662 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.895, allocations: 158.2 kB / 0.8664 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.895, allocations: 0 / 0.8664 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.8951, allocations: 23.97 kB / 0.8664 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.8952, allocations: 4 kB / 0.8664 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.8952, allocations: 0 / 0.8664 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8952, allocations: 0 / 0.8664 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8952, allocations: 0 / 0.8664 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.8955, allocations: 171.4 kB / 0.8666 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.8956, allocations: 85.06 kB / 0.8667 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.8956, allocations: 0 / 0.8667 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.8958, allocations: 27.97 kB / 0.8667 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.8958, allocations: 336 / 0.8667 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.8959, allocations: 4 kB / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.515e-05/0.896, allocations: 96.77 kB / 0.8668 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.896, allocations: 0 / 0.8668 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002513/0.8962, allocations: 15.88 kB / 0.8668 GB, free: 15.52 MB / 0.5417 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 () * 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.0009386/0.8972, allocations: 0.7162 MB / 0.8675 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.8973, allocations: 31.94 kB / 0.8675 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8974, allocations: 0 / 0.8675 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.109e-05/0.8974, allocations: 19.98 kB / 0.8675 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.8976, allocations: 0 / 0.8675 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.8982, allocations: 133.4 kB / 0.8677 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/0.8989, allocations: 0.6924 MB / 0.8683 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.8989, allocations: 2.266 kB / 0.8683 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.899, allocations: 19.44 kB / 0.8684 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.899, allocations: 0 / 0.8684 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.9327, allocations: 1.213 MB / 0.8695 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003528/0.9332, allocations: 139.8 kB / 0.8697 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.849, allocations: 3.938 kB / 0.8697 GB, free: 12.43 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)