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.007956/0.007956, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001894/0.001895, allocations: 188.6 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7503/0.7503, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 60.53 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1702, allocations: 80.21 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003203/0.1735, allocations: 1.59 MB / 0.6607 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1745, allocations: 0.5113 MB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/0.1747, allocations: 0 / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.1748, allocations: 11.88 kB / 0.6613 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/0.1749, allocations: 15.81 kB / 0.6613 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.1752, allocations: 39.94 kB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1753, allocations: 83.64 kB / 0.6614 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.1755, allocations: 40.22 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1756, allocations: 43.78 kB / 0.6615 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.1757, allocations: 39.83 kB / 0.6615 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1758, allocations: 8 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.203e-05/0.1759, allocations: 8 kB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.1759, allocations: 27.92 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/0.176, allocations: 39.73 kB / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.1762, allocations: 90.5 kB / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1762, allocations: 0 / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1762, allocations: 0 / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.1763, allocations: 0 / 0.6617 GB, free: 11.48 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.0007011/0.177, allocations: 407.9 kB / 0.6621 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.177, allocations: 8.031 kB / 0.6621 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.1771, allocations: 42.69 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.1771, allocations: 16.75 kB / 0.6621 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1773, allocations: 193.6 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1774, allocations: 4.375 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1774, allocations: 4.375 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.1777, allocations: 113.8 kB / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1777, allocations: 0 / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1777, allocations: 0 / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1777, allocations: 0 / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.178, allocations: 103.9 kB / 0.6625 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.1786, allocations: 372.6 kB / 0.6629 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.1787, allocations: 62.48 kB / 0.6629 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.1788, allocations: 56.94 kB / 0.663 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.1789, allocations: 7.984 kB / 0.663 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.1789, allocations: 30.56 kB / 0.663 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1789, allocations: 0 / 0.663 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004698/0.1794, allocations: 169.4 kB / 0.6632 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.1794, allocations: 59.34 kB / 0.6633 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1795, allocations: 135.8 kB / 0.6634 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1796, allocations: 25.7 kB / 0.6634 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.1796, allocations: 112.1 kB / 0.6635 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.1797, allocations: 7.812 kB / 0.6635 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.1797, allocations: 25.7 kB / 0.6635 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1798, allocations: 314.8 kB / 0.6638 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.18, allocations: 43.97 kB / 0.6639 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1801, allocations: 35.97 kB / 0.6639 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.1803, allocations: 93.17 kB / 0.664 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1803, allocations: 3.938 kB / 0.664 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002945/0.1806, allocations: 129.5 kB / 0.6641 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1807, allocations: 12 kB / 0.6641 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1807, allocations: 0 / 0.6641 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1807, allocations: 7.875 kB / 0.6642 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.1808, allocations: 15.98 kB / 0.6642 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.1809, allocations: 3.984 kB / 0.6642 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.1809, allocations: 11.98 kB / 0.6642 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.181, allocations: 4 kB / 0.6642 GB, free: 8.672 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 8.718e-05/0.1811, allocations: 122.5 kB / 0.6643 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1811, allocations: 11.91 kB / 0.6643 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.1815, allocations: 146.1 kB / 0.6645 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1815, allocations: 3.938 kB / 0.6645 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1815, allocations: 4 kB / 0.6645 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1815, allocations: 0 / 0.6645 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.1817, allocations: 201.6 kB / 0.6647 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1817, allocations: 3.984 kB / 0.6647 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.1818, allocations: 15.98 kB / 0.6647 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1819, allocations: 4 kB / 0.6647 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1819, allocations: 4 kB / 0.6647 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1819, allocations: 3.938 kB / 0.6647 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1819, allocations: 0 / 0.6647 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.1822, allocations: 227.5 kB / 0.6649 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.1823, allocations: 85.02 kB / 0.665 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1823, allocations: 4 kB / 0.665 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.1824, allocations: 11.92 kB / 0.665 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.1824, allocations: 7.984 kB / 0.665 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1825, allocations: 8 kB / 0.665 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.564e-05/0.1825, allocations: 95.27 kB / 0.6651 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1825, allocations: 0 / 0.6651 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002333/0.1828, allocations: 16 kB / 0.6651 GB, free: 7.609 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.0006321/0.1834, allocations: 0.7631 MB / 0.6659 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002854/0.1837, allocations: 95.88 kB / 0.666 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1837, allocations: 0 / 0.666 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.1838, allocations: 55.97 kB / 0.666 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.1841, allocations: 10.44 kB / 0.666 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.1859, allocations: 1.607 MB / 0.6676 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1862, allocations: 0.708 MB / 0.6683 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.1864, allocations: 15.97 kB / 0.6683 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.1864, allocations: 27.42 kB / 0.6683 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1864, allocations: 0 / 0.6683 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.2045, allocations: 2.018 MB / 0.6703 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/7.941, allocations: 12 kB / 0.6703 GB, free: 2.27 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)