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.007609/0.007609, allocations: 100.9 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.001571/0.00157, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8387/0.8387, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 72.38 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1563, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002787/0.1591, allocations: 1.586 MB / 0.6608 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008939/0.1601, allocations: 0.5074 MB / 0.6612 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.1601, allocations: 0 / 0.6612 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.1602, allocations: 11.86 kB / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.1603, allocations: 19.86 kB / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1606, allocations: 39.89 kB / 0.6613 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1607, allocations: 87.69 kB / 0.6614 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1609, allocations: 36.22 kB / 0.6614 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.843e-05/0.161, allocations: 35.86 kB / 0.6615 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1611, allocations: 39.83 kB / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.1611, allocations: 8 kB / 0.6615 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.884e-05/0.1612, allocations: 19.92 kB / 0.6615 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.1613, allocations: 19.92 kB / 0.6616 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.1614, allocations: 35.75 kB / 0.6616 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.1616, allocations: 91.86 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1616, allocations: 3.984 kB / 0.6617 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1616, allocations: 0 / 0.6617 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1616, allocations: 0 / 0.6617 GB, free: 8.188 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.0006436/0.1623, allocations: 403 kB / 0.6621 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1623, allocations: 8.031 kB / 0.6621 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.054e-05/0.1624, allocations: 46.67 kB / 0.6621 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.1624, allocations: 8.891 kB / 0.6621 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.1626, allocations: 204.1 kB / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1627, allocations: 8.375 kB / 0.6623 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.1627, allocations: 4.375 kB / 0.6623 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.163, allocations: 105.8 kB / 0.6624 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.163, allocations: 0 / 0.6624 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.163, allocations: 4 kB / 0.6624 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.163, allocations: 0 / 0.6624 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.1633, allocations: 111.9 kB / 0.6625 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/0.1639, allocations: 372.6 kB / 0.6629 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1641, allocations: 58.55 kB / 0.663 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.1642, allocations: 52.89 kB / 0.663 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.1643, allocations: 11.98 kB / 0.663 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1643, allocations: 30.56 kB / 0.663 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1643, allocations: 0 / 0.663 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005108/0.1648, allocations: 157.6 kB / 0.6632 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.1649, allocations: 59.34 kB / 0.6633 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.165, allocations: 135.2 kB / 0.6634 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.165, allocations: 25.7 kB / 0.6634 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.1651, allocations: 112.1 kB / 0.6635 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1651, allocations: 19.84 kB / 0.6635 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.1652, allocations: 17.72 kB / 0.6635 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1653, allocations: 322.8 kB / 0.6639 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.1655, allocations: 39.91 kB / 0.6639 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1656, allocations: 43.97 kB / 0.6639 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.1658, allocations: 88.8 kB / 0.664 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1658, allocations: 0 / 0.664 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002842/0.1661, allocations: 121.6 kB / 0.6641 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1662, allocations: 8 kB / 0.6641 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1662, allocations: 3.984 kB / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1662, allocations: 7.938 kB / 0.6642 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.1663, allocations: 23.91 kB / 0.6642 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1664, allocations: 3.938 kB / 0.6642 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.1664, allocations: 11.95 kB / 0.6642 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.1665, allocations: 7.984 kB / 0.6642 GB, free: 5.371 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 9.43e-05/0.1666, allocations: 118.7 kB / 0.6643 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.1666, allocations: 3.953 kB / 0.6643 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.167, allocations: 154.7 kB / 0.6645 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.167, allocations: 7.922 kB / 0.6645 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.167, allocations: 0 / 0.6645 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.167, allocations: 0 / 0.6645 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.1673, allocations: 197.6 kB / 0.6647 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1673, allocations: 4 kB / 0.6647 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.1674, allocations: 19.92 kB / 0.6647 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1674, allocations: 0 / 0.6647 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1674, allocations: 7.984 kB / 0.6647 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1674, allocations: 3.938 kB / 0.6647 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1674, allocations: 0 / 0.6647 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.1678, allocations: 223.4 kB / 0.6649 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.1678, allocations: 81.06 kB / 0.665 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1679, allocations: 7.938 kB / 0.665 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.168, allocations: 15.92 kB / 0.665 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.168, allocations: 8 kB / 0.665 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1681, allocations: 3.984 kB / 0.665 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.399e-05/0.1681, allocations: 105.5 kB / 0.6651 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.1681, allocations: 3.938 kB / 0.6651 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002429/0.1684, allocations: 12 kB / 0.6651 GB, free: 4.309 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.0007134/0.1691, allocations: 0.767 MB / 0.6659 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.1694, allocations: 95.88 kB / 0.666 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1694, allocations: 0 / 0.666 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.1696, allocations: 55.95 kB / 0.666 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.1698, allocations: 15.94 kB / 0.666 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1717, allocations: 1.599 MB / 0.6676 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.172, allocations: 0.7002 MB / 0.6683 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.37e-05/0.1721, allocations: 19.92 kB / 0.6683 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.1722, allocations: 27.42 kB / 0.6683 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1722, allocations: 0 / 0.6683 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.1948, allocations: 1.999 MB / 0.6703 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.262, allocations: 17.08 kB / 0.6703 GB, free: 14.97 MB / 0.5137 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)