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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 104 kB / 15.6 MB, free: 148 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.00115/0.00115, allocations: 196.1 kB / 16.53 MB, free: 6.625 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7306/0.7306, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 75.58 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.136, allocations: 80.2 MB / 0.5802 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002364/0.1384, allocations: 1.487 MB / 0.5816 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002668/0.1387, allocations: 100.6 kB / 0.5817 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.1387, allocations: 4 kB / 0.5817 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.1388, allocations: 3.938 kB / 0.5817 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.228e-05/0.1388, allocations: 11.92 kB / 0.5818 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.139, allocations: 19.97 kB / 0.5818 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.475e-05/0.1391, allocations: 47.84 kB / 0.5818 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.1392, allocations: 8 kB / 0.5818 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.1392, allocations: 15.92 kB / 0.5818 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.1393, allocations: 27.92 kB / 0.5819 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1393, allocations: 4 kB / 0.5819 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.869e-05/0.1393, allocations: 19.98 kB / 0.5819 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.1394, allocations: 11.92 kB / 0.5819 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.1394, allocations: 27.86 kB / 0.5819 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.1396, allocations: 51.8 kB / 0.582 GB, free: 6.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1396, allocations: 0 / 0.582 GB, free: 6.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1396, allocations: 4 kB / 0.582 GB, free: 6.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1396, allocations: 0 / 0.582 GB, free: 6.82 MB / 494.1 MB 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.0004806/0.1401, allocations: 383.4 kB / 0.5823 GB, free: 6.395 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1401, allocations: 12.03 kB / 0.5824 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.772e-05/0.1401, allocations: 30.75 kB / 0.5824 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.1402, allocations: 4.938 kB / 0.5824 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1403, allocations: 183 kB / 0.5826 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1403, allocations: 4.359 kB / 0.5826 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1403, allocations: 4.375 kB / 0.5826 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.1406, allocations: 74.22 kB / 0.5826 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1406, allocations: 3.938 kB / 0.5827 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1406, allocations: 4 kB / 0.5827 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1406, allocations: 0 / 0.5827 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.1409, allocations: 71.92 kB / 0.5827 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.1413, allocations: 300.8 kB / 0.583 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.1415, allocations: 66.53 kB / 0.5831 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.1417, allocations: 44.91 kB / 0.5831 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/0.1419, allocations: 109.1 kB / 0.5832 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.1419, allocations: 30.56 kB / 0.5832 GB, free: 5.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1419, allocations: 0 / 0.5832 GB, free: 5.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005712/0.1425, allocations: 157.4 kB / 0.5834 GB, free: 5.172 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.1425, allocations: 55.41 kB / 0.5835 GB, free: 5.105 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.796e-05/0.1426, allocations: 121.8 kB / 0.5836 GB, free: 4.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1427, allocations: 29.7 kB / 0.5836 GB, free: 4.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.1427, allocations: 93.89 kB / 0.5837 GB, free: 4.848 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.1427, allocations: 7.906 kB / 0.5837 GB, free: 4.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.1428, allocations: 13.72 kB / 0.5837 GB, free: 4.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.1429, allocations: 318.8 kB / 0.584 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.143, allocations: 39.91 kB / 0.584 GB, free: 4.461 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1432, allocations: 43.95 kB / 0.5841 GB, free: 4.418 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.1435, allocations: 76.72 kB / 0.5842 GB, free: 4.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1435, allocations: 4 kB / 0.5842 GB, free: 4.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003492/0.1439, allocations: 117.5 kB / 0.5843 GB, free: 4.215 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1439, allocations: 9.875 kB / 0.5843 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.1439, allocations: 0 / 0.5843 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1439, allocations: 336 / 0.5843 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.144, allocations: 15.98 kB / 0.5843 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.144, allocations: 0 / 0.5843 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.917e-05/0.1441, allocations: 11.98 kB / 0.5843 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1441, allocations: 7.984 kB / 0.5843 GB, free: 4.172 MB / 494.1 MB 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 7.596e-05/0.1442, allocations: 118.4 kB / 0.5844 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.1443, allocations: 7.891 kB / 0.5844 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.1446, allocations: 121.5 kB / 0.5846 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1447, allocations: 3.984 kB / 0.5846 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1447, allocations: 4 kB / 0.5846 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1447, allocations: 0 / 0.5846 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.1449, allocations: 181.6 kB / 0.5847 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1449, allocations: 0 / 0.5847 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.956e-05/0.145, allocations: 15.98 kB / 0.5848 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.145, allocations: 0 / 0.5848 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.145, allocations: 0 / 0.5848 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.145, allocations: 0 / 0.5848 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.145, allocations: 8 kB / 0.5848 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.1454, allocations: 207.3 kB / 0.585 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.1454, allocations: 85.05 kB / 0.585 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1455, allocations: 4 kB / 0.585 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1456, allocations: 11.98 kB / 0.5851 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.1456, allocations: 11.98 kB / 0.5851 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1456, allocations: 0 / 0.5851 GB, free: 3.305 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.439e-05/0.1457, allocations: 95.27 kB / 0.5852 GB, free: 3.211 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1457, allocations: 0 / 0.5852 GB, free: 3.211 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.1459, allocations: 8 kB / 0.5852 GB, free: 3.203 MB / 494.1 MB 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.0006724/0.1466, allocations: 0.7513 MB / 0.5859 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003616/0.147, allocations: 87.78 kB / 0.586 GB, free: 2.336 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.147, allocations: 4 kB / 0.586 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.1472, allocations: 43.95 kB / 0.586 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.1475, allocations: 7.938 kB / 0.586 GB, free: 2.281 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.148, allocations: 183.1 kB / 0.5862 GB, free: 2.062 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.1482, allocations: 0.6884 MB / 0.5869 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.032e-05/0.1482, allocations: 7.984 kB / 0.5869 GB, free: 1.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.1483, allocations: 15.44 kB / 0.5869 GB, free: 1.324 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1483, allocations: 0 / 0.5869 GB, free: 1.324 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.1645, allocations: 1.839 MB / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.735, allocations: 1.531 kB / 0.5887 GB, free: 15.55 MB / 0.4981 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_Biquadratic.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)