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.005085/0.005085, allocations: 96.53 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.00184, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9834/0.9834, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.89 kB / 0.5851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4078, allocations: 80.91 MB / 0.6642 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002333/0.4101, allocations: 1.49 MB / 0.6656 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002819/0.4104, allocations: 107.8 kB / 0.6657 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.4105, allocations: 5.344 kB / 0.6657 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.4105, allocations: 7.922 kB / 0.6657 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.148e-05/0.4106, allocations: 9.031 kB / 0.6657 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.4108, allocations: 28.81 kB / 0.6658 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.4109, allocations: 46.19 kB / 0.6658 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.411, allocations: 12.05 kB / 0.6658 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.534e-05/0.4111, allocations: 17.62 kB / 0.6658 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.4111, allocations: 21.66 kB / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.4111, allocations: 5.312 kB / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.251e-05/0.4112, allocations: 18.61 kB / 0.6659 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.4113, allocations: 11.33 kB / 0.6659 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.4113, allocations: 24.28 kB / 0.6659 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.4114, allocations: 60.64 kB / 0.666 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4114, allocations: 3.984 kB / 0.666 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4114, allocations: 0 / 0.666 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.4115, allocations: 0 / 0.666 GB, free: 5.82 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.0004371/0.4119, allocations: 374.8 kB / 0.6663 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4119, allocations: 10.09 kB / 0.6663 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.412, allocations: 34.75 kB / 0.6664 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.412, allocations: 8.938 kB / 0.6664 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.277e-05/0.4121, allocations: 176.4 kB / 0.6666 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.4121, allocations: 5.781 kB / 0.6666 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.4121, allocations: 1.906 kB / 0.6666 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.4124, allocations: 74.72 kB / 0.6666 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4124, allocations: 7.922 kB / 0.6666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.4124, allocations: 1.25 kB / 0.6666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.4124, allocations: 0 / 0.6666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.4127, allocations: 79.64 kB / 0.6667 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.413, allocations: 281.6 kB / 0.667 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.4132, allocations: 72.97 kB / 0.6671 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4134, allocations: 47.09 kB / 0.6671 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.4136, allocations: 106.9 kB / 0.6672 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.4136, allocations: 30.56 kB / 0.6672 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4136, allocations: 1.469 kB / 0.6672 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005441/0.4142, allocations: 149.8 kB / 0.6674 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.4142, allocations: 52.69 kB / 0.6674 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.4143, allocations: 129.6 kB / 0.6676 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.4143, allocations: 25.7 kB / 0.6676 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.4143, allocations: 98.5 kB / 0.6677 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.4143, allocations: 9.031 kB / 0.6677 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.4144, allocations: 17.59 kB / 0.6677 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.4144, allocations: 315.9 kB / 0.668 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.4146, allocations: 41.92 kB / 0.668 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.4147, allocations: 32.94 kB / 0.6681 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.415, allocations: 91.09 kB / 0.6682 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.415, allocations: 1.344 kB / 0.6682 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003236/0.4153, allocations: 109.9 kB / 0.6683 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.4154, allocations: 8.688 kB / 0.6683 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4154, allocations: 1.125 kB / 0.6683 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4154, allocations: 0 / 0.6683 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.4155, allocations: 22.47 kB / 0.6683 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.4155, allocations: 0 / 0.6683 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.4156, allocations: 12.14 kB / 0.6683 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.4156, allocations: 0 / 0.6683 GB, free: 3.648 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 5.33e-05/0.4157, allocations: 118.9 kB / 0.6684 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.4157, allocations: 11.42 kB / 0.6684 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.4161, allocations: 122 kB / 0.6685 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4161, allocations: 3.938 kB / 0.6686 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4161, allocations: 0 / 0.6686 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4161, allocations: 1.094 kB / 0.6686 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.4162, allocations: 184.6 kB / 0.6687 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4162, allocations: 0 / 0.6687 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-05/0.4163, allocations: 22.52 kB / 0.6687 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4163, allocations: 0 / 0.6687 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.4163, allocations: 1.312 kB / 0.6688 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4164, allocations: 0 / 0.6688 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4164, allocations: 3.984 kB / 0.6688 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.4167, allocations: 209.7 kB / 0.669 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.4167, allocations: 82.12 kB / 0.669 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.4167, allocations: 5.422 kB / 0.669 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.4169, allocations: 10.61 kB / 0.669 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.4169, allocations: 5.375 kB / 0.6691 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.4169, allocations: 1.469 kB / 0.6691 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.417, allocations: 103.6 kB / 0.6692 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.417, allocations: 0 / 0.6692 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000239/0.4172, allocations: 21.03 kB / 0.6692 GB, free: 2.824 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.0005223/0.4177, allocations: 0.7404 MB / 0.6699 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.4181, allocations: 82.14 kB / 0.67 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4181, allocations: 0 / 0.67 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.4182, allocations: 45.55 kB / 0.67 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.4185, allocations: 6.594 kB / 0.67 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.4189, allocations: 190.6 kB / 0.6702 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.419, allocations: 0.6877 MB / 0.6709 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.4191, allocations: 1.781 kB / 0.6709 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.4191, allocations: 17.06 kB / 0.6709 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.4191, allocations: 0 / 0.6709 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.4369, allocations: 1.864 MB / 0.6727 GB, free: 140 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/7.966, allocations: 13.17 kB / 0.6727 GB, free: 128 kB / 0.4981 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)