Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",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.004835/0.004835, allocations: 97.92 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.00112/0.00112, allocations: 185.6 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7419/0.7419, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 64.23 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1569, allocations: 80.22 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002853/0.1598, allocations: 1.599 MB / 0.6608 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009061/0.1607, allocations: 0.4996 MB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.1608, allocations: 4 kB / 0.6613 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.161, allocations: 15.86 kB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.161, allocations: 15.8 kB / 0.6613 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.1613, allocations: 39.89 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.1615, allocations: 79.77 kB / 0.6614 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.1616, allocations: 44.2 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1618, allocations: 39.8 kB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/0.1618, allocations: 35.84 kB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1619, allocations: 7.984 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.1619, allocations: 19.98 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.162, allocations: 19.92 kB / 0.6616 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.1621, allocations: 43.73 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.1622, allocations: 87.86 kB / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1622, allocations: 0 / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1622, allocations: 0 / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1623, allocations: 0 / 0.6617 GB, free: 11.46 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000523/0.1628, allocations: 402.9 kB / 0.6621 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1628, allocations: 16.02 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.1629, allocations: 38.69 kB / 0.6621 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.1629, allocations: 16.89 kB / 0.6621 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.1631, allocations: 200.1 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1631, allocations: 8.375 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1631, allocations: 4.375 kB / 0.6623 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.1634, allocations: 105.8 kB / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1634, allocations: 0 / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1634, allocations: 3.984 kB / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1634, allocations: 4 kB / 0.6624 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.1637, allocations: 103.9 kB / 0.6625 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.1642, allocations: 372.6 kB / 0.6629 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.1644, allocations: 54.55 kB / 0.663 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.1645, allocations: 56.95 kB / 0.663 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.1645, allocations: 3.984 kB / 0.663 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.1646, allocations: 34.56 kB / 0.663 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1646, allocations: 0 / 0.663 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004487/0.165, allocations: 161.5 kB / 0.6632 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.1651, allocations: 59.34 kB / 0.6633 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.1652, allocations: 135.7 kB / 0.6634 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1652, allocations: 25.7 kB / 0.6634 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.1653, allocations: 108.2 kB / 0.6635 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.1653, allocations: 19.84 kB / 0.6635 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.1653, allocations: 17.72 kB / 0.6635 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.1654, allocations: 322.8 kB / 0.6639 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1656, allocations: 39.97 kB / 0.6639 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1657, allocations: 39.97 kB / 0.6639 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.1659, allocations: 89.17 kB / 0.664 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1659, allocations: 0 / 0.664 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002713/0.1662, allocations: 129.5 kB / 0.6641 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1662, allocations: 8 kB / 0.6641 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1662, allocations: 7.922 kB / 0.6642 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1662, allocations: 7.938 kB / 0.6642 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1664, allocations: 15.98 kB / 0.6642 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1664, allocations: 0 / 0.6642 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.1665, allocations: 15.94 kB / 0.6642 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.1665, allocations: 4 kB / 0.6642 GB, free: 8.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 (6): * Single equations (assignments): 6 * 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 0.0001137/0.1666, allocations: 114.5 kB / 0.6643 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.1667, allocations: 11.95 kB / 0.6643 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.1671, allocations: 150.2 kB / 0.6645 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1671, allocations: 3.938 kB / 0.6645 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1671, allocations: 0 / 0.6645 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1671, allocations: 0 / 0.6645 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.1673, allocations: 205.6 kB / 0.6647 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1673, allocations: 0 / 0.6647 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.1674, allocations: 27.91 kB / 0.6647 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1675, allocations: 4 kB / 0.6647 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1675, allocations: 0 / 0.6647 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.1675, allocations: 3.938 kB / 0.6647 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1675, allocations: 0 / 0.6647 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.1678, allocations: 227.4 kB / 0.6649 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.1679, allocations: 81.06 kB / 0.665 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1679, allocations: 192 / 0.665 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.168, allocations: 23.92 kB / 0.665 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.1681, allocations: 4 kB / 0.665 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1681, allocations: 7.984 kB / 0.665 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.1682, allocations: 97.77 kB / 0.6651 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1682, allocations: 4 kB / 0.6651 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000247/0.1684, allocations: 16 kB / 0.6651 GB, free: 7.582 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 (6): * Single equations (assignments): 6 * 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.0006611/0.1691, allocations: 0.7669 MB / 0.6659 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.1694, allocations: 99.92 kB / 0.666 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1694, allocations: 0 / 0.666 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1695, allocations: 55.97 kB / 0.666 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.1698, allocations: 11.92 kB / 0.666 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.1716, allocations: 1.595 MB / 0.6676 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1718, allocations: 0.7118 MB / 0.6683 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.172, allocations: 11.98 kB / 0.6683 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.172, allocations: 27.42 kB / 0.6683 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.172, allocations: 0 / 0.6683 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.1899, allocations: 2.006 MB / 0.6703 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.764, allocations: 7.938 kB / 0.6703 GB, free: 2.262 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions_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_VectorFunctions.fmu > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)