Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IDEAS_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.001356/0.001356, allocations: 180.9 kB / 7.651 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.878/0.878, allocations: 133.6 MB / 141.6 MB, free: 2.941 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.435/1.435, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0009237/0.0009233, allocations: 99.56 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.381e-05/2.384e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4612, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.6071, allocations: 110.6 MB / 0.7419 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.6074, allocations: 83.88 kB / 0.742 GB, free: 12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003046/0.6104, allocations: 1.072 MB / 0.7431 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6104, allocations: 0 / 0.7431 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.6104, allocations: 0 / 0.7431 GB, free: 10.93 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.0004095/0.6109, allocations: 378.3 kB / 0.7434 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.6109, allocations: 12.03 kB / 0.7434 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.6109, allocations: 7.906 kB / 0.7434 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.6111, allocations: 171 kB / 0.7436 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.6111, allocations: 0 / 0.7436 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.6111, allocations: 4 kB / 0.7436 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001/0.6112, allocations: 35.98 kB / 0.7436 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.626e-05/0.6113, allocations: 45.69 kB / 0.7437 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.6113, allocations: 0 / 0.7437 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.6113, allocations: 3.984 kB / 0.7437 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.6113, allocations: 0 / 0.7437 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.6119, allocations: 309.3 kB / 0.744 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.496e-05/0.612, allocations: 46.5 kB / 0.744 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.612, allocations: 24.86 kB / 0.744 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.6122, allocations: 109.2 kB / 0.7442 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.6122, allocations: 30.56 kB / 0.7442 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.6123, allocations: 0 / 0.7442 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002439/0.6125, allocations: 69.67 kB / 0.7442 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.6125, allocations: 51.41 kB / 0.7443 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/0.6126, allocations: 112.2 kB / 0.7444 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.6127, allocations: 25.7 kB / 0.7444 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.6127, allocations: 100 kB / 0.7445 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.6128, allocations: 15.91 kB / 0.7445 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.6128, allocations: 3.938 kB / 0.7445 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6129, allocations: 322.7 kB / 0.7448 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.6129, allocations: 12 kB / 0.7449 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-05/0.613, allocations: 19.98 kB / 0.7449 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.613, allocations: 19.98 kB / 0.7449 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.613, allocations: 0 / 0.7449 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001357/0.6132, allocations: 73.58 kB / 0.745 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.6132, allocations: 4 kB / 0.745 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6132, allocations: 0 / 0.745 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6132, allocations: 4.188 kB / 0.745 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.6134, allocations: 31.97 kB / 0.745 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.6134, allocations: 0 / 0.745 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.063e-05/0.6135, allocations: 15.98 kB / 0.745 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.6135, allocations: 7.984 kB / 0.745 GB, free: 8.695 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.517e-05/0.6136, allocations: 108.9 kB / 0.7451 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001509/0.6138, allocations: 77.55 kB / 0.7452 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.6138, allocations: 7.906 kB / 0.7452 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.614, allocations: 89.98 kB / 0.7453 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.614, allocations: 0 / 0.7453 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.614, allocations: 0 / 0.7453 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.614, allocations: 0 / 0.7453 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.6142, allocations: 158.2 kB / 0.7455 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6142, allocations: 0 / 0.7455 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.6143, allocations: 23.98 kB / 0.7455 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.6144, allocations: 3.938 kB / 0.7455 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.6144, allocations: 0 / 0.7455 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6144, allocations: 4 kB / 0.7455 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.6144, allocations: 0 / 0.7455 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.6146, allocations: 175.4 kB / 0.7457 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.6146, allocations: 85.02 kB / 0.7457 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.6147, allocations: 0 / 0.7457 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.6148, allocations: 15.98 kB / 0.7457 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.6148, allocations: 7.984 kB / 0.7458 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.6148, allocations: 0 / 0.7458 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.4e-05/0.6149, allocations: 99.27 kB / 0.7458 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6149, allocations: 0 / 0.7458 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002236/0.6151, allocations: 15.94 kB / 0.7459 GB, free: 7.746 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.0005482/0.6157, allocations: 0.7084 MB / 0.7466 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.813e-05/0.6158, allocations: 28 kB / 0.7466 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6158, allocations: 0 / 0.7466 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.35e-05/0.6159, allocations: 20 kB / 0.7466 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.6161, allocations: 7.984 kB / 0.7466 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.6165, allocations: 137.3 kB / 0.7467 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.6168, allocations: 0.6924 MB / 0.7474 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3e-05/0.6168, allocations: 0 / 0.7474 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.6168, allocations: 19.44 kB / 0.7474 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.6168, allocations: 0 / 0.7474 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.636, allocations: 1.203 MB / 0.7486 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.6362, allocations: 120.3 kB / 0.7487 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.422/2.058, allocations: 0 / 0.7487 GB, free: 4.664 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Biquadratic.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)