Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7479/0.7479, allocations: 127.4 MB / 134.9 MB, free: 3.465 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 177.7 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.2 MB / 399.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008638/0.0008636, allocations: 103.4 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.362e-05, allocations: 5.531 kB / 0.5467 GB, free: 95.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1973, allocations: 76.77 MB / 0.6216 GB, free: 42.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.3373, allocations: 101.8 MB / 0.7211 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.3377, allocations: 79.94 kB / 0.7212 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003414/0.3412, allocations: 1.071 MB / 0.7222 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3412, allocations: 3.938 kB / 0.7222 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3412, allocations: 0 / 0.7222 GB, free: 3.836 MB / 0.4948 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.0004334/0.3417, allocations: 370.5 kB / 0.7226 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.3417, allocations: 8.031 kB / 0.7226 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.3418, allocations: 11.86 kB / 0.7226 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.3419, allocations: 177.4 kB / 0.7227 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3419, allocations: 0 / 0.7227 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.342, allocations: 4 kB / 0.7228 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001082/0.3421, allocations: 35.92 kB / 0.7228 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.117e-05/0.3422, allocations: 45.69 kB / 0.7228 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.3422, allocations: 0 / 0.7228 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3422, allocations: 4 kB / 0.7228 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3422, allocations: 0 / 0.7228 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.3427, allocations: 305.4 kB / 0.7231 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.905e-05/0.3428, allocations: 46.56 kB / 0.7232 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.3429, allocations: 24.8 kB / 0.7232 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.3431, allocations: 105.2 kB / 0.7233 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3431, allocations: 30.56 kB / 0.7233 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.3431, allocations: 0 / 0.7233 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002732/0.3434, allocations: 77.58 kB / 0.7234 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.3434, allocations: 59.36 kB / 0.7235 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3435, allocations: 109 kB / 0.7236 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3436, allocations: 33.64 kB / 0.7236 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.3436, allocations: 92.12 kB / 0.7237 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.3437, allocations: 7.906 kB / 0.7237 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.3437, allocations: 0 / 0.7237 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3438, allocations: 310.8 kB / 0.724 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.3438, allocations: 15.98 kB / 0.724 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.3439, allocations: 24 kB / 0.724 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.046e-05/0.344, allocations: 23.97 kB / 0.724 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.344, allocations: 3.938 kB / 0.724 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000135/0.3441, allocations: 69.58 kB / 0.7241 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3441, allocations: 8 kB / 0.7241 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3441, allocations: 0 / 0.7241 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3442, allocations: 192 / 0.7241 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.3443, allocations: 23.98 kB / 0.7241 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3443, allocations: 7.984 kB / 0.7242 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.997e-05/0.3444, allocations: 27.86 kB / 0.7242 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.3445, allocations: 3.984 kB / 0.7242 GB, free: 1.598 MB / 0.4948 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 6.958e-05/0.3445, allocations: 105 kB / 0.7243 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001446/0.3447, allocations: 73.52 kB / 0.7244 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.3447, allocations: 7.906 kB / 0.7244 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.3449, allocations: 93.94 kB / 0.7244 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3449, allocations: 0 / 0.7244 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3449, allocations: 11.94 kB / 0.7245 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3449, allocations: 0 / 0.7245 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.3451, allocations: 154.2 kB / 0.7246 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3451, allocations: 0 / 0.7246 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.3452, allocations: 19.98 kB / 0.7246 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3452, allocations: 4 kB / 0.7246 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3452, allocations: 4 kB / 0.7246 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3452, allocations: 0 / 0.7246 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3452, allocations: 0 / 0.7246 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.3454, allocations: 179.3 kB / 0.7248 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.3455, allocations: 77.11 kB / 0.7249 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.3455, allocations: 0 / 0.7249 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.3456, allocations: 19.98 kB / 0.7249 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.3457, allocations: 7.984 kB / 0.7249 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3457, allocations: 3.938 kB / 0.7249 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.746e-05/0.3457, allocations: 101.3 kB / 0.725 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3457, allocations: 0 / 0.725 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002284/0.346, allocations: 12 kB / 0.725 GB, free: 0.6484 MB / 0.4948 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.0004956/0.3465, allocations: 0.7067 MB / 0.7257 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.3466, allocations: 35.92 kB / 0.7257 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.3466, allocations: 0 / 0.7257 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.385e-05/0.3466, allocations: 20 kB / 0.7258 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.3468, allocations: 4 kB / 0.7258 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.3472, allocations: 125.4 kB / 0.7259 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.3475, allocations: 0.6924 MB / 0.7266 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.365e-05/0.3475, allocations: 7.984 kB / 0.7266 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.3475, allocations: 15.44 kB / 0.7266 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.3475, allocations: 0 / 0.7266 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.3661, allocations: 1.224 MB / 0.7278 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.3664, allocations: 135.1 kB / 0.7279 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/1.891, allocations: 3.938 kB / 0.7279 GB, free: 13.56 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe 2>&1)