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.001465/0.001465, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001735/0.001735, allocations: 191 kB / 16.25 MB, free: 6.617 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.354/1.354, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7575/0.7575, allocations: 132.2 MB / 422.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001168, allocations: 59.34 kB / 0.5014 GB, free: 8.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1503, allocations: 80.2 MB / 0.5797 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002511/0.1528, allocations: 1.539 MB / 0.5812 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.1531, allocations: 104.5 kB / 0.5813 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.1532, allocations: 4 kB / 0.5813 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.591e-05/0.1532, allocations: 7.922 kB / 0.5813 GB, free: 7.344 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.381e-05/0.1533, allocations: 7.938 kB / 0.5813 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.1535, allocations: 15.98 kB / 0.5813 GB, free: 7.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.1536, allocations: 43.86 kB / 0.5814 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.067e-05/0.1536, allocations: 15.97 kB / 0.5814 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.943e-05/0.1537, allocations: 15.92 kB / 0.5814 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.574e-05/0.1537, allocations: 27.92 kB / 0.5814 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1538, allocations: 4 kB / 0.5814 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.381e-05/0.1538, allocations: 19.98 kB / 0.5814 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.379e-05/0.1539, allocations: 11.92 kB / 0.5814 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.1539, allocations: 23.86 kB / 0.5815 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.154, allocations: 55.8 kB / 0.5815 GB, free: 7.105 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.154, allocations: 4 kB / 0.5815 GB, free: 7.102 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.154, allocations: 0 / 0.5815 GB, free: 7.102 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.154, allocations: 0 / 0.5815 GB, free: 7.102 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.000482/0.1545, allocations: 387.3 kB / 0.5819 GB, free: 6.672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1546, allocations: 12.03 kB / 0.5819 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.1546, allocations: 34.75 kB / 0.5819 GB, free: 6.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.1546, allocations: 4.938 kB / 0.5819 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1548, allocations: 174.8 kB / 0.5821 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1548, allocations: 4.375 kB / 0.5821 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1548, allocations: 4.375 kB / 0.5821 GB, free: 6.398 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.1551, allocations: 78.14 kB / 0.5822 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.1551, allocations: 7.938 kB / 0.5822 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1551, allocations: 0 / 0.5822 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1551, allocations: 3.984 kB / 0.5822 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.1554, allocations: 71.92 kB / 0.5823 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.1557, allocations: 292.8 kB / 0.5826 GB, free: 5.898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.156, allocations: 70.47 kB / 0.5826 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.1561, allocations: 36.92 kB / 0.5827 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.1564, allocations: 117.1 kB / 0.5828 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1564, allocations: 30.56 kB / 0.5828 GB, free: 5.609 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1564, allocations: 0 / 0.5828 GB, free: 5.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005622/0.157, allocations: 141.5 kB / 0.5829 GB, free: 5.465 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.157, allocations: 63.41 kB / 0.583 GB, free: 5.391 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.1571, allocations: 129.8 kB / 0.5831 GB, free: 5.254 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1572, allocations: 25.7 kB / 0.5831 GB, free: 5.223 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.1572, allocations: 92.12 kB / 0.5832 GB, free: 5.129 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1572, allocations: 7.906 kB / 0.5832 GB, free: 5.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.1573, allocations: 9.719 kB / 0.5832 GB, free: 5.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1574, allocations: 322.8 kB / 0.5836 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.1576, allocations: 35.97 kB / 0.5836 GB, free: 4.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.1577, allocations: 39.95 kB / 0.5836 GB, free: 4.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.158, allocations: 80.72 kB / 0.5837 GB, free: 4.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.158, allocations: 0 / 0.5837 GB, free: 4.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003266/0.1583, allocations: 113.5 kB / 0.5838 GB, free: 4.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1584, allocations: 11.94 kB / 0.5838 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1584, allocations: 0 / 0.5838 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1584, allocations: 0 / 0.5838 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.1585, allocations: 23.92 kB / 0.5838 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1585, allocations: 0 / 0.5838 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.563e-05/0.1586, allocations: 11.98 kB / 0.5839 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1586, allocations: 4 kB / 0.5839 GB, free: 4.457 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 8.132e-05/0.1587, allocations: 118.4 kB / 0.584 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.1587, allocations: 7.906 kB / 0.584 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.1591, allocations: 113.5 kB / 0.5841 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1591, allocations: 8 kB / 0.5841 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1591, allocations: 3.938 kB / 0.5841 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1591, allocations: 0 / 0.5841 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1593, allocations: 181.6 kB / 0.5843 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1593, allocations: 4 kB / 0.5843 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.1594, allocations: 23.91 kB / 0.5843 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1594, allocations: 0 / 0.5843 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1595, allocations: 4 kB / 0.5843 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1595, allocations: 0 / 0.5843 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1595, allocations: 4.375 kB / 0.5843 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.1598, allocations: 215.3 kB / 0.5845 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.1599, allocations: 77.11 kB / 0.5846 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1599, allocations: 4 kB / 0.5846 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.16, allocations: 11.98 kB / 0.5846 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.1601, allocations: 7.984 kB / 0.5846 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.1601, allocations: 0 / 0.5846 GB, free: 3.586 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.628e-05/0.1601, allocations: 102 kB / 0.5847 GB, free: 3.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1601, allocations: 0 / 0.5847 GB, free: 3.488 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.1604, allocations: 12 kB / 0.5847 GB, free: 3.477 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.0006713/0.161, allocations: 0.7435 MB / 0.5854 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.1614, allocations: 83.91 kB / 0.5855 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1614, allocations: 0 / 0.5855 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1616, allocations: 43.91 kB / 0.5856 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.1618, allocations: 18.45 kB / 0.5856 GB, free: 2.562 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.1623, allocations: 195.1 kB / 0.5858 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1626, allocations: 0.6962 MB / 0.5865 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.984e-05/0.1626, allocations: 0 / 0.5865 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.1627, allocations: 19.42 kB / 0.5865 GB, free: 1.59 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1627, allocations: 0 / 0.5865 GB, free: 1.59 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.1737, allocations: 1.643 MB / 0.5881 GB, free: 64 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002864/0.174, allocations: 180 kB / 0.5882 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/1.979, allocations: 0 / 0.5882 GB, free: 15.81 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Biquadratic.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)