Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5297/0.5297, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 101.9 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.589e-05, allocations: 4 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1858, allocations: 72.32 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5161/0.702, allocations: 100.8 MB / 0.6521 GB, free: 9.098 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.7023, allocations: 68.09 kB / 0.6521 GB, free: 9.062 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003139/0.7055, allocations: 1.076 MB / 0.6532 GB, free: 8.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7055, allocations: 0 / 0.6532 GB, free: 8.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.7055, allocations: 4 kB / 0.6532 GB, free: 8.086 MB / 458.7 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.0004634/0.706, allocations: 374.2 kB / 0.6536 GB, free: 7.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.706, allocations: 8.031 kB / 0.6536 GB, free: 7.672 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.7061, allocations: 11.86 kB / 0.6536 GB, free: 7.66 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.7062, allocations: 171 kB / 0.6537 GB, free: 7.453 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.7062, allocations: 0 / 0.6537 GB, free: 7.453 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.7063, allocations: 4 kB / 0.6537 GB, free: 7.449 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001013/0.7064, allocations: 29.67 kB / 0.6538 GB, free: 7.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.929e-05/0.7065, allocations: 56.48 kB / 0.6538 GB, free: 7.375 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.7065, allocations: 0 / 0.6538 GB, free: 7.375 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.7065, allocations: 0 / 0.6538 GB, free: 7.375 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.7065, allocations: 3.953 kB / 0.6538 GB, free: 7.371 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.7071, allocations: 304.5 kB / 0.6541 GB, free: 7.055 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.56e-05/0.7072, allocations: 47.94 kB / 0.6542 GB, free: 7.008 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.7072, allocations: 24.19 kB / 0.6542 GB, free: 6.988 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.7074, allocations: 103.8 kB / 0.6543 GB, free: 6.871 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.7075, allocations: 38.55 kB / 0.6543 GB, free: 6.824 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.7075, allocations: 4 kB / 0.6543 GB, free: 6.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002527/0.7077, allocations: 80.64 kB / 0.6544 GB, free: 6.746 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.7078, allocations: 51.41 kB / 0.6544 GB, free: 6.684 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.7079, allocations: 117 kB / 0.6546 GB, free: 6.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.7079, allocations: 25.7 kB / 0.6546 GB, free: 6.539 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.708, allocations: 90.33 kB / 0.6547 GB, free: 6.453 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.708, allocations: 11.03 kB / 0.6547 GB, free: 6.445 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.708, allocations: 0 / 0.6547 GB, free: 6.445 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.7081, allocations: 322.8 kB / 0.655 GB, free: 6.121 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.7082, allocations: 14.62 kB / 0.655 GB, free: 6.113 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.643e-05/0.7082, allocations: 15.42 kB / 0.655 GB, free: 6.102 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.215e-05/0.7083, allocations: 22.8 kB / 0.655 GB, free: 6.086 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.7083, allocations: 0 / 0.655 GB, free: 6.086 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001382/0.7084, allocations: 72.14 kB / 0.6551 GB, free: 6.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.7085, allocations: 11.98 kB / 0.6551 GB, free: 6.008 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.7085, allocations: 0 / 0.6551 GB, free: 6.008 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.7085, allocations: 0 / 0.6551 GB, free: 6.008 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.7086, allocations: 27.92 kB / 0.6551 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.7086, allocations: 0 / 0.6551 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.649e-05/0.7087, allocations: 19.94 kB / 0.6552 GB, free: 5.961 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.7088, allocations: 0 / 0.6552 GB, free: 5.961 MB / 458.7 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 () * 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 7.654e-05/0.7088, allocations: 105 kB / 0.6553 GB, free: 5.852 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001515/0.709, allocations: 84 kB / 0.6553 GB, free: 5.773 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.709, allocations: 7.938 kB / 0.6554 GB, free: 5.766 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.7092, allocations: 84.12 kB / 0.6554 GB, free: 5.688 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.7093, allocations: 3.953 kB / 0.6554 GB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.7093, allocations: 4 kB / 0.6554 GB, free: 5.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7093, allocations: 0 / 0.6554 GB, free: 5.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.7094, allocations: 155.5 kB / 0.6556 GB, free: 5.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7095, allocations: 0 / 0.6556 GB, free: 5.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.7096, allocations: 33.59 kB / 0.6556 GB, free: 5.469 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7096, allocations: 0 / 0.6556 GB, free: 5.469 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.7096, allocations: 0 / 0.6556 GB, free: 5.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7096, allocations: 0 / 0.6556 GB, free: 5.469 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7096, allocations: 0 / 0.6556 GB, free: 5.469 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.7098, allocations: 172.9 kB / 0.6558 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.7099, allocations: 89 kB / 0.6559 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.7099, allocations: 0 / 0.6559 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.71, allocations: 19.98 kB / 0.6559 GB, free: 5.172 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.7101, allocations: 0 / 0.6559 GB, free: 5.172 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.7101, allocations: 7.984 kB / 0.6559 GB, free: 5.164 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.047e-05/0.7101, allocations: 91.22 kB / 0.656 GB, free: 5.082 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7101, allocations: 4 kB / 0.656 GB, free: 5.078 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.7104, allocations: 15.89 kB / 0.656 GB, free: 5.062 MB / 458.7 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 () * 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.0005051/0.7109, allocations: 0.7055 MB / 0.6567 GB, free: 4.344 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.659e-05/0.711, allocations: 37.39 kB / 0.6567 GB, free: 4.316 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.711, allocations: 0 / 0.6567 GB, free: 4.316 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.501e-05/0.711, allocations: 15.12 kB / 0.6567 GB, free: 4.305 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.7112, allocations: 7.375 kB / 0.6567 GB, free: 4.301 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.7116, allocations: 131.8 kB / 0.6569 GB, free: 4.141 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.7119, allocations: 0.6846 MB / 0.6575 GB, free: 3.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.251e-05/0.7119, allocations: 8.688 kB / 0.6576 GB, free: 3.422 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.712, allocations: 17.73 kB / 0.6576 GB, free: 3.41 MB / 458.7 MB Notification: Performance of SimCode: time 2.7e-07/0.712, allocations: 3.938 kB / 0.6576 GB, free: 3.406 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.7371, allocations: 1.197 MB / 0.6587 GB, free: 2.223 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/0.7375, allocations: 134.4 kB / 0.6589 GB, free: 2.027 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.236, allocations: 3.938 kB / 0.6589 GB, free: 2.023 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe 2>&1)