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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 191.5 kB / 16.67 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9621/0.9621, allocations: 135.6 MB / 426.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 0.5857 GB, free: 3.188 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.394, allocations: 81.02 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.001999/0.396, allocations: 1.48 MB / 0.6663 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.3963, allocations: 110.8 kB / 0.6664 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.3963, allocations: 1.5 kB / 0.6664 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.3963, allocations: 0 / 0.6664 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.978e-05/0.3964, allocations: 13.22 kB / 0.6664 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.3966, allocations: 21.69 kB / 0.6665 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.3967, allocations: 49.08 kB / 0.6665 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.921e-05/0.3967, allocations: 12.33 kB / 0.6665 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.02e-05/0.3968, allocations: 18.61 kB / 0.6665 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.3968, allocations: 20.91 kB / 0.6666 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3968, allocations: 4.125 kB / 0.6666 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-05/0.3969, allocations: 23.05 kB / 0.6666 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.397, allocations: 11.33 kB / 0.6666 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.397, allocations: 20.16 kB / 0.6666 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3971, allocations: 62.89 kB / 0.6667 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.3971, allocations: 5.375 kB / 0.6667 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.81e-07/0.3971, allocations: 0 / 0.6667 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3971, allocations: 0 / 0.6667 GB, free: 5.426 MB / 0.4981 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.0003913/0.3975, allocations: 371.9 kB / 0.667 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.3975, allocations: 13.81 kB / 0.667 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.193e-05/0.3976, allocations: 39.95 kB / 0.6671 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.3976, allocations: 7.328 kB / 0.6671 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.38e-05/0.3977, allocations: 175.8 kB / 0.6673 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-06/0.3977, allocations: 5.594 kB / 0.6673 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.3977, allocations: 3.25 kB / 0.6673 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.398, allocations: 75.2 kB / 0.6673 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.398, allocations: 3.938 kB / 0.6673 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.398, allocations: 8 kB / 0.6673 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.398, allocations: 1.562 kB / 0.6673 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.3983, allocations: 74.33 kB / 0.6674 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.3986, allocations: 285.9 kB / 0.6677 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.3988, allocations: 76.94 kB / 0.6678 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.3989, allocations: 39.08 kB / 0.6678 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.3991, allocations: 106.4 kB / 0.6679 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.3991, allocations: 35.72 kB / 0.6679 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3991, allocations: 0 / 0.6679 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005327/0.3997, allocations: 150.4 kB / 0.6681 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/0.3997, allocations: 52.62 kB / 0.6681 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.3998, allocations: 129.1 kB / 0.6683 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.3998, allocations: 29.7 kB / 0.6683 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.3998, allocations: 92.25 kB / 0.6684 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.3998, allocations: 5.453 kB / 0.6684 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.3999, allocations: 15.19 kB / 0.6684 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.61e-05/0.3999, allocations: 321.9 kB / 0.6687 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.4001, allocations: 32.31 kB / 0.6687 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.4002, allocations: 41.42 kB / 0.6688 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.4005, allocations: 80.31 kB / 0.6688 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4005, allocations: 0 / 0.6688 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003169/0.4008, allocations: 118.3 kB / 0.669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.4008, allocations: 5.094 kB / 0.669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4009, allocations: 3.984 kB / 0.669 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4009, allocations: 1.281 kB / 0.669 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.401, allocations: 13.86 kB / 0.669 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.401, allocations: 0 / 0.669 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.63e-05/0.4011, allocations: 11.92 kB / 0.669 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.4011, allocations: 0 / 0.669 GB, free: 3.262 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.4011, allocations: 125.7 kB / 0.6691 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.4012, allocations: 11.31 kB / 0.6691 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.4015, allocations: 121.9 kB / 0.6692 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.4015, allocations: 3.938 kB / 0.6692 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4015, allocations: 1.125 kB / 0.6692 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4016, allocations: 4 kB / 0.6692 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.4017, allocations: 184.4 kB / 0.6694 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4017, allocations: 0 / 0.6694 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.4018, allocations: 18.81 kB / 0.6694 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4018, allocations: 0 / 0.6694 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.4018, allocations: 1.531 kB / 0.6694 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4018, allocations: 0 / 0.6694 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4018, allocations: 0 / 0.6694 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.4022, allocations: 214.1 kB / 0.6696 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.4022, allocations: 86.34 kB / 0.6697 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.4022, allocations: 0 / 0.6697 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.4023, allocations: 14.8 kB / 0.6697 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.4024, allocations: 6.203 kB / 0.6697 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.4024, allocations: 1.125 kB / 0.6698 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.4024, allocations: 106.9 kB / 0.6699 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4024, allocations: 0 / 0.6699 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002273/0.4026, allocations: 16.03 kB / 0.6699 GB, free: 2.426 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004887/0.4031, allocations: 0.7403 MB / 0.6706 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.4035, allocations: 81.53 kB / 0.6707 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4035, allocations: 5.406 kB / 0.6707 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.4037, allocations: 35.94 kB / 0.6707 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.4039, allocations: 11.09 kB / 0.6707 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.4043, allocations: 186.8 kB / 0.6709 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.856e-05/0.4044, allocations: 0.6863 MB / 0.6716 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.732e-05/0.4044, allocations: 2.5 kB / 0.6716 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.4045, allocations: 21.98 kB / 0.6716 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4045, allocations: 0 / 0.6716 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/0.5071, allocations: 1.87 MB / 0.6734 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/8.776, allocations: 6.812 kB / 0.6734 GB, free: 15.73 MB / 0.5137 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/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)