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.004808/0.004808, allocations: 99.58 kB / 15.73 MB, free: 6.039 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.001212/0.001212, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7696/0.7696, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 68.3 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1409, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002403/0.1434, allocations: 1.484 MB / 0.6606 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002928/0.1437, allocations: 108.6 kB / 0.6607 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.1437, allocations: 0 / 0.6607 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.117e-05/0.1438, allocations: 7.938 kB / 0.6608 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-05/0.1439, allocations: 15.86 kB / 0.6608 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.1441, allocations: 19.97 kB / 0.6608 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.1442, allocations: 43.84 kB / 0.6608 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1444, allocations: 12 kB / 0.6608 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.66e-05/0.1444, allocations: 15.92 kB / 0.6609 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.1445, allocations: 19.86 kB / 0.6609 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1445, allocations: 11.94 kB / 0.6609 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-05/0.1446, allocations: 23.97 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.1446, allocations: 8 kB / 0.6609 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.1447, allocations: 27.84 kB / 0.6609 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1449, allocations: 56.03 kB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1449, allocations: 0 / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.1449, allocations: 0 / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.1449, allocations: 0 / 0.661 GB, free: 8.887 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.0006211/0.1455, allocations: 387.1 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1456, allocations: 12.03 kB / 0.6614 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.1456, allocations: 30.75 kB / 0.6614 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.1456, allocations: 4.938 kB / 0.6614 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.1458, allocations: 184.2 kB / 0.6616 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1458, allocations: 384 / 0.6616 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1458, allocations: 4.312 kB / 0.6616 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1461, allocations: 74.22 kB / 0.6617 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1461, allocations: 7.938 kB / 0.6617 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1461, allocations: 4 kB / 0.6617 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.1462, allocations: 0 / 0.6617 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.1465, allocations: 71.92 kB / 0.6617 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1469, allocations: 284.9 kB / 0.662 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1471, allocations: 74.41 kB / 0.6621 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.1473, allocations: 44.91 kB / 0.6621 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.1475, allocations: 105.1 kB / 0.6622 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.1476, allocations: 34.56 kB / 0.6623 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1476, allocations: 0 / 0.6623 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005547/0.1481, allocations: 149.5 kB / 0.6624 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.1482, allocations: 55.34 kB / 0.6625 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.1483, allocations: 129.8 kB / 0.6626 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1483, allocations: 25.7 kB / 0.6626 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.1484, allocations: 92.12 kB / 0.6627 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.1484, allocations: 7.953 kB / 0.6627 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.1484, allocations: 13.72 kB / 0.6627 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1486, allocations: 322.8 kB / 0.663 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1487, allocations: 35.97 kB / 0.6631 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.1489, allocations: 35.95 kB / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.1491, allocations: 84.72 kB / 0.6632 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1491, allocations: 0 / 0.6632 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003281/0.1495, allocations: 117.8 kB / 0.6633 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1495, allocations: 4 kB / 0.6633 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1495, allocations: 4 kB / 0.6633 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1495, allocations: 3.938 kB / 0.6633 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1496, allocations: 11.98 kB / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1497, allocations: 0 / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.616e-05/0.1497, allocations: 15.97 kB / 0.6633 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.1498, allocations: 4 kB / 0.6633 GB, free: 6.246 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 8.879e-05/0.1498, allocations: 118.7 kB / 0.6634 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.1499, allocations: 11.94 kB / 0.6635 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.1503, allocations: 125.5 kB / 0.6636 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1503, allocations: 0 / 0.6636 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1503, allocations: 4 kB / 0.6636 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1503, allocations: 0 / 0.6636 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.1505, allocations: 189.5 kB / 0.6638 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1505, allocations: 0 / 0.6638 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.1506, allocations: 15.98 kB / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1506, allocations: 0 / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1506, allocations: 0 / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1506, allocations: 3.938 kB / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1506, allocations: 0 / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.151, allocations: 215.4 kB / 0.664 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.1511, allocations: 81.06 kB / 0.6641 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1511, allocations: 0 / 0.6641 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1512, allocations: 15.98 kB / 0.6641 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.1512, allocations: 7.984 kB / 0.6641 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1512, allocations: 4 kB / 0.6641 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.404e-05/0.1513, allocations: 99.27 kB / 0.6642 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1513, allocations: 0 / 0.6642 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002226/0.1515, allocations: 8 kB / 0.6642 GB, free: 5.254 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.0006876/0.1522, allocations: 0.7435 MB / 0.6649 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.1526, allocations: 83.91 kB / 0.665 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1526, allocations: 0 / 0.665 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.1528, allocations: 47.89 kB / 0.665 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.153, allocations: 10.3 kB / 0.665 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.1534, allocations: 183 kB / 0.6652 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1537, allocations: 0.6807 MB / 0.6659 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.816e-05/0.1538, allocations: 7.984 kB / 0.6659 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.1538, allocations: 19.38 kB / 0.6659 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1538, allocations: 4 kB / 0.6659 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1473/0.3011, allocations: 1.863 MB / 0.6677 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.008, allocations: 7.938 kB / 0.6677 GB, free: 1.602 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)