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.001701/0.001701, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7707/0.7707, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 221.3 MB / 400.4 MB, free: 5.766 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008696/0.0008697, allocations: 84.88 kB / 483.3 MB, free: 5.816 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.163e-05, allocations: 4.094 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1354, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.568/0.7035, allocations: 111.3 MB / 0.7492 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.7038, allocations: 72.08 kB / 0.7492 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003314/0.7071, allocations: 1.07 MB / 0.7503 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7071, allocations: 0.9844 kB / 0.7503 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.7071, allocations: 7.312 kB / 0.7503 GB, free: 27.58 MB / 0.5105 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.0004438/0.7076, allocations: 379.9 kB / 0.7507 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.7077, allocations: 7.5 kB / 0.7507 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.7077, allocations: 33.06 kB / 0.7507 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.7077, allocations: 7.781 kB / 0.7507 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.7079, allocations: 173.8 kB / 0.7509 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.7079, allocations: 7.656 kB / 0.7509 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.7079, allocations: 3.562 kB / 0.7509 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.7081, allocations: 56.97 kB / 0.7509 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.7081, allocations: 0 / 0.7509 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.7081, allocations: 3.047 kB / 0.7509 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.7081, allocations: 0 / 0.7509 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.7082, allocations: 32.81 kB / 0.751 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.7087, allocations: 327.5 kB / 0.7513 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.105e-05/0.7088, allocations: 43.77 kB / 0.7513 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.7089, allocations: 26.92 kB / 0.7513 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.7091, allocations: 108.9 kB / 0.7514 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.7091, allocations: 33.14 kB / 0.7515 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.7091, allocations: 0 / 0.7515 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.000186/0.7093, allocations: 69.27 kB / 0.7515 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.7093, allocations: 51.41 kB / 0.7516 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.7094, allocations: 114.2 kB / 0.7517 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.7095, allocations: 25.7 kB / 0.7517 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.7095, allocations: 101.7 kB / 0.7518 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.7096, allocations: 6.719 kB / 0.7518 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.7096, allocations: 3.938 kB / 0.7518 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.7097, allocations: 322.4 kB / 0.7521 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.7097, allocations: 13.83 kB / 0.7522 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.7097, allocations: 21.33 kB / 0.7522 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.7098, allocations: 13.73 kB / 0.7522 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.7098, allocations: 3.969 kB / 0.7522 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.86e-05/0.7099, allocations: 69.12 kB / 0.7523 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.7099, allocations: 7.844 kB / 0.7523 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7099, allocations: 0 / 0.7523 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.7099, allocations: 3.938 kB / 0.7523 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.7101, allocations: 20.92 kB / 0.7523 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.7101, allocations: 0 / 0.7523 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.434e-05/0.7102, allocations: 24.92 kB / 0.7523 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.7102, allocations: 3 kB / 0.7523 GB, free: 25.8 MB / 0.5105 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.903e-05/0.7103, allocations: 106.8 kB / 0.7524 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.7103, allocations: 10.39 kB / 0.7524 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.7105, allocations: 85.89 kB / 0.7525 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.7105, allocations: 0 / 0.7525 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.7105, allocations: 0 / 0.7525 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7105, allocations: 0 / 0.7525 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.7107, allocations: 185 kB / 0.7527 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.7107, allocations: 4 kB / 0.7527 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.7108, allocations: 20.66 kB / 0.7527 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7108, allocations: 0 / 0.7527 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.7109, allocations: 0 / 0.7527 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7109, allocations: 0 / 0.7527 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7109, allocations: 0 / 0.7527 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.711, allocations: 176.5 kB / 0.7529 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.7111, allocations: 81.02 kB / 0.753 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.7111, allocations: 0 / 0.753 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.7112, allocations: 20.11 kB / 0.753 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.7113, allocations: 2.812 kB / 0.753 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.7113, allocations: 7.375 kB / 0.753 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.777e-05/0.7113, allocations: 95.84 kB / 0.7531 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7113, allocations: 4 kB / 0.7531 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002014/0.7115, allocations: 15.47 kB / 0.7531 GB, free: 25.13 MB / 0.5105 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.0004325/0.712, allocations: 0.7036 MB / 0.7538 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.748e-05/0.7121, allocations: 31.73 kB / 0.7538 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7121, allocations: 3.781 kB / 0.7538 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.7121, allocations: 23.08 kB / 0.7538 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.7123, allocations: 5.719 kB / 0.7538 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.7127, allocations: 131.3 kB / 0.754 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.7129, allocations: 0.6928 MB / 0.7546 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.713, allocations: 0.75 kB / 0.7546 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.713, allocations: 17.5 kB / 0.7547 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.713, allocations: 4 kB / 0.7547 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/0.7254, allocations: 1.517 MB / 0.7561 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.7256, allocations: 142.3 kB / 0.7563 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.291, allocations: 0 / 0.7563 GB, free: 23.22 MB / 0.5105 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)