Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_dev_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.0008785/0.0008784, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001247/0.001247, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9839/0.9839, allocations: 135.3 MB / 426.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003157, allocations: 15.94 kB / 0.5071 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1627, allocations: 82.31 MB / 0.5875 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002404/0.1652, allocations: 1.294 MB / 0.5887 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1663, allocations: 480 kB / 0.5892 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.1664, allocations: 4 kB / 0.5892 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.963e-05/0.1665, allocations: 3.938 kB / 0.5892 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.1666, allocations: 11.86 kB / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1668, allocations: 27.97 kB / 0.5892 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.167, allocations: 75.7 kB / 0.5893 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1672, allocations: 40.14 kB / 0.5893 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1673, allocations: 27.91 kB / 0.5894 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.1674, allocations: 35.84 kB / 0.5894 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1674, allocations: 0 / 0.5894 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.982e-05/0.1675, allocations: 11.94 kB / 0.5894 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.862e-05/0.1676, allocations: 11.98 kB / 0.5894 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.1676, allocations: 37.64 kB / 0.5895 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1677, allocations: 56.11 kB / 0.5895 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1678, allocations: 0 / 0.5895 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1678, allocations: 4 kB / 0.5895 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1678, allocations: 0 / 0.5895 GB, free: 0.7852 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005427/0.1683, allocations: 399 kB / 0.5899 GB, free: 356 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1684, allocations: 8.031 kB / 0.5899 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.077e-05/0.1684, allocations: 38.56 kB / 0.5899 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.1685, allocations: 7.906 kB / 0.5899 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1687, allocations: 205.6 kB / 0.5901 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1687, allocations: 0 / 0.5901 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1688, allocations: 15.94 kB / 0.5902 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.1691, allocations: 109.7 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1691, allocations: 0 / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1691, allocations: 4 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.1692, allocations: 4 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.1694, allocations: 107.9 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006521/0.1701, allocations: 396.5 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1702, allocations: 62.48 kB / 0.5908 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1704, allocations: 56.95 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.1704, allocations: 4 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1704, allocations: 34.56 kB / 0.5909 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1705, allocations: 0 / 0.5909 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004752/0.1709, allocations: 189.5 kB / 0.5911 GB, free: 15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.171, allocations: 59.34 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1711, allocations: 130 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1711, allocations: 25.7 kB / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.1712, allocations: 104.2 kB / 0.5914 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1712, allocations: 19.89 kB / 0.5914 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.1713, allocations: 4 kB / 0.5914 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1714, allocations: 318.8 kB / 0.5917 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1715, allocations: 43.97 kB / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.1716, allocations: 47.97 kB / 0.5918 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1718, allocations: 47.97 kB / 0.5918 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1718, allocations: 0 / 0.5918 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003105/0.1721, allocations: 137.9 kB / 0.592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1721, allocations: 4 kB / 0.592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1721, allocations: 64 / 0.592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1722, allocations: 7.953 kB / 0.592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1723, allocations: 27.91 kB / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1723, allocations: 0 / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.1724, allocations: 19.91 kB / 0.592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.1724, allocations: 7.984 kB / 0.592 GB, free: 13.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.1726, allocations: 113.8 kB / 0.5922 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.1726, allocations: 7.906 kB / 0.5922 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.173, allocations: 154.3 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.173, allocations: 4 kB / 0.5923 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.173, allocations: 11.88 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.173, allocations: 3.938 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.1732, allocations: 205.5 kB / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1733, allocations: 3.938 kB / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1734, allocations: 19.98 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1734, allocations: 0 / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1734, allocations: 7.984 kB / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1734, allocations: 0 / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1734, allocations: 4 kB / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.1738, allocations: 239.3 kB / 0.5928 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.1738, allocations: 81.02 kB / 0.5929 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1738, allocations: 0 / 0.5929 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.1739, allocations: 11.98 kB / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.174, allocations: 8 kB / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.174, allocations: 8.109 kB / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.672e-05/0.1741, allocations: 105.3 kB / 0.593 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1741, allocations: 4 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002445/0.1743, allocations: 16 kB / 0.593 GB, free: 12.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007217/0.1751, allocations: 0.7787 MB / 0.5938 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.1754, allocations: 107.9 kB / 0.5939 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1754, allocations: 4 kB / 0.5939 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1755, allocations: 59.95 kB / 0.5939 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.1757, allocations: 8 kB / 0.5939 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1769, allocations: 0.7193 MB / 0.5946 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.1772, allocations: 0.7004 MB / 0.5953 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.1773, allocations: 11.98 kB / 0.5953 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/0.1774, allocations: 35.42 kB / 0.5954 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1774, allocations: 0 / 0.5954 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/0.1889, allocations: 1.696 MB / 0.597 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.1892, allocations: 172.4 kB / 0.5972 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/1.916, allocations: 0 / 0.5972 GB, free: 8.562 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: