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.005278/0.005278, allocations: 97.22 kB / 15.73 MB, free: 6.055 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.001306/0.001306, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.468/1.468, 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 1.008/1.008, allocations: 135.5 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 0.5858 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.411, allocations: 81.02 MB / 0.6649 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002025/0.4131, allocations: 1.482 MB / 0.6663 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002803/0.4134, allocations: 112 kB / 0.6664 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.4135, allocations: 0 / 0.6664 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.4135, allocations: 3.984 kB / 0.6664 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.132e-05/0.4136, allocations: 10.06 kB / 0.6664 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.4137, allocations: 25.72 kB / 0.6665 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.604e-05/0.4138, allocations: 52.78 kB / 0.6665 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.4139, allocations: 13.02 kB / 0.6665 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.414, allocations: 14.16 kB / 0.6665 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.414, allocations: 25.44 kB / 0.6666 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.414, allocations: 4.219 kB / 0.6666 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.4141, allocations: 18.55 kB / 0.6666 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.4142, allocations: 11.05 kB / 0.6666 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.4142, allocations: 20.81 kB / 0.6666 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.4143, allocations: 58.59 kB / 0.6667 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4143, allocations: 5.078 kB / 0.6667 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4143, allocations: 0 / 0.6667 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.4144, allocations: 0 / 0.6667 GB, free: 5.434 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.00045/0.4148, allocations: 375.7 kB / 0.667 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4149, allocations: 10.72 kB / 0.6671 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.328e-05/0.4149, allocations: 30.75 kB / 0.6671 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.4149, allocations: 11.48 kB / 0.6671 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/0.415, allocations: 180.4 kB / 0.6673 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.415, allocations: 9.688 kB / 0.6673 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.415, allocations: 2.625 kB / 0.6673 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.4153, allocations: 79.27 kB / 0.6674 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4153, allocations: 3.938 kB / 0.6674 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.4153, allocations: 0 / 0.6674 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4153, allocations: 1.25 kB / 0.6674 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.4156, allocations: 74.98 kB / 0.6674 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.4159, allocations: 285.4 kB / 0.6677 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.4161, allocations: 68.97 kB / 0.6678 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.4163, allocations: 46.66 kB / 0.6678 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/0.4165, allocations: 115.8 kB / 0.6679 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/0.4165, allocations: 30.56 kB / 0.668 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4165, allocations: 1.5 kB / 0.668 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005441/0.4171, allocations: 154 kB / 0.6681 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.4171, allocations: 52.62 kB / 0.6681 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.4172, allocations: 124.4 kB / 0.6683 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.4172, allocations: 26.86 kB / 0.6683 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.4172, allocations: 98.59 kB / 0.6684 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.4173, allocations: 9.281 kB / 0.6684 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.4173, allocations: 12.09 kB / 0.6684 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.936e-05/0.4173, allocations: 317.3 kB / 0.6687 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.4175, allocations: 37.27 kB / 0.6687 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.4176, allocations: 37.42 kB / 0.6688 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.4179, allocations: 87 kB / 0.6689 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4179, allocations: 0 / 0.6689 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003172/0.4183, allocations: 110.5 kB / 0.669 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4183, allocations: 9.469 kB / 0.669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.4183, allocations: 0 / 0.669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4183, allocations: 1.5 kB / 0.669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.4184, allocations: 22.27 kB / 0.669 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4185, allocations: 0 / 0.669 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.63e-05/0.4185, allocations: 10.7 kB / 0.669 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.4185, allocations: 1.469 kB / 0.669 GB, free: 3.258 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.18e-05/0.4186, allocations: 117.5 kB / 0.6691 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.4186, allocations: 10.33 kB / 0.6691 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003718/0.419, allocations: 125.7 kB / 0.6693 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.419, allocations: 5.344 kB / 0.6693 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.419, allocations: 0 / 0.6693 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.419, allocations: 0 / 0.6693 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.4192, allocations: 179.9 kB / 0.6694 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4192, allocations: 1.188 kB / 0.6694 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.264e-05/0.4193, allocations: 22.11 kB / 0.6695 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4193, allocations: 1.156 kB / 0.6695 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.4193, allocations: 0 / 0.6695 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4193, allocations: 5 kB / 0.6695 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4193, allocations: 3.984 kB / 0.6695 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.4196, allocations: 209.2 kB / 0.6697 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.4197, allocations: 86.48 kB / 0.6697 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.4197, allocations: 0.9375 kB / 0.6697 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.4198, allocations: 11.11 kB / 0.6698 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.4198, allocations: 1.156 kB / 0.6698 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.4199, allocations: 1.188 kB / 0.6698 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.4199, allocations: 116 kB / 0.6699 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4199, allocations: 4 kB / 0.6699 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00023/0.4201, allocations: 13.16 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.0005374/0.4207, allocations: 0.7347 MB / 0.6706 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.4211, allocations: 78.45 kB / 0.6707 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4211, allocations: 3.938 kB / 0.6707 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.4212, allocations: 45.64 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.0002499/0.4215, allocations: 2.344 kB / 0.6707 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.4219, allocations: 195.4 kB / 0.6709 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.4221, allocations: 0.687 MB / 0.6716 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.4221, allocations: 1.188 kB / 0.6716 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.4221, allocations: 18.47 kB / 0.6716 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4221, allocations: 0 / 0.6716 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.444, allocations: 1.868 MB / 0.6734 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.276, allocations: 1.875 kB / 0.6734 GB, free: 15.74 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 & 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)