Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IDEAS_dev_IDEAS_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.0009815/0.0009816, allocations: 173.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8077/0.8077, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 221.5 MB / 395.4 MB, free: 10.85 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.001065/0.001065, allocations: 101 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.178e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5261/0.5261, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.6787, allocations: 110.6 MB / 0.7419 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.679, allocations: 71.95 kB / 0.742 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003218/0.6823, allocations: 1.08 MB / 0.7431 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6823, allocations: 0 / 0.7431 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.6823, allocations: 4 kB / 0.7431 GB, free: 10.94 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.0004604/0.6828, allocations: 370.3 kB / 0.7434 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.6828, allocations: 16.02 kB / 0.7434 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.6829, allocations: 3.906 kB / 0.7434 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.6831, allocations: 179 kB / 0.7436 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.6831, allocations: 0 / 0.7436 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.6831, allocations: 0 / 0.7436 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001056/0.6832, allocations: 31.98 kB / 0.7436 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.6833, allocations: 49.69 kB / 0.7437 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6833, allocations: 0 / 0.7437 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.6834, allocations: 0 / 0.7437 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6834, allocations: 0 / 0.7437 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.6839, allocations: 313.2 kB / 0.744 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.62e-05/0.684, allocations: 46.56 kB / 0.744 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.6841, allocations: 24.84 kB / 0.744 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/0.6843, allocations: 109.2 kB / 0.7442 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.6843, allocations: 30.56 kB / 0.7442 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.6844, allocations: 0 / 0.7442 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002721/0.6846, allocations: 69.67 kB / 0.7442 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.6847, allocations: 51.41 kB / 0.7443 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.522e-05/0.6848, allocations: 116.9 kB / 0.7444 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.6848, allocations: 25.7 kB / 0.7444 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.6849, allocations: 104 kB / 0.7445 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.6849, allocations: 3.906 kB / 0.7445 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.6849, allocations: 4 kB / 0.7445 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6851, allocations: 318.8 kB / 0.7448 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.6851, allocations: 23.86 kB / 0.7449 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.6851, allocations: 12 kB / 0.7449 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.497e-05/0.6852, allocations: 23.97 kB / 0.7449 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6852, allocations: 0 / 0.7449 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001528/0.6854, allocations: 77.58 kB / 0.745 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6854, allocations: 8 kB / 0.745 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6854, allocations: 0 / 0.745 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6854, allocations: 0 / 0.745 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.6856, allocations: 19.98 kB / 0.745 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.6856, allocations: 0 / 0.745 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.602e-05/0.6857, allocations: 19.97 kB / 0.745 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.6857, allocations: 8 kB / 0.745 GB, free: 8.707 MB / 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 7.452e-05/0.6858, allocations: 108.9 kB / 0.7451 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001636/0.686, allocations: 73.67 kB / 0.7452 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.686, allocations: 7.906 kB / 0.7452 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.6862, allocations: 82 kB / 0.7453 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.6862, allocations: 3.984 kB / 0.7453 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6862, allocations: 0 / 0.7453 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.6863, allocations: 0 / 0.7453 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.6864, allocations: 166.2 kB / 0.7454 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6864, allocations: 0 / 0.7454 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.6865, allocations: 23.92 kB / 0.7455 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6866, allocations: 0 / 0.7455 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.6866, allocations: 0 / 0.7455 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6866, allocations: 0 / 0.7455 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6866, allocations: 4 kB / 0.7455 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.6868, allocations: 175.4 kB / 0.7456 GB, free: 8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.6868, allocations: 89.34 kB / 0.7457 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.6869, allocations: 0 / 0.7457 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.687, allocations: 15.98 kB / 0.7457 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.687, allocations: 7.984 kB / 0.7458 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.6871, allocations: 0 / 0.7458 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.397e-05/0.6871, allocations: 98.39 kB / 0.7458 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6871, allocations: 4 kB / 0.7458 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002096/0.6873, allocations: 11.94 kB / 0.7459 GB, free: 7.762 MB / 0.5261 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.0005351/0.6879, allocations: 0.7085 MB / 0.7466 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.923e-05/0.688, allocations: 35.92 kB / 0.7466 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.688, allocations: 0 / 0.7466 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.688, allocations: 20 kB / 0.7466 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.6882, allocations: 5.656 kB / 0.7466 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.6886, allocations: 141.3 kB / 0.7467 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.6889, allocations: 0.6963 MB / 0.7474 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.125e-05/0.689, allocations: 0 / 0.7474 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.689, allocations: 15.44 kB / 0.7474 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.689, allocations: 4 kB / 0.7474 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.7084, allocations: 1.194 MB / 0.7486 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.7086, allocations: 121.2 kB / 0.7487 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.157, allocations: 0 / 0.7487 GB, free: 4.68 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)