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.001116/0.001116, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001138/0.001138, allocations: 191.5 kB / 16.25 MB, free: 6.641 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9938/0.9938, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 68.69 kB / 0.505 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1525, allocations: 80.92 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003063/0.1556, allocations: 1.644 MB / 0.5856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007864/0.1564, allocations: 0.4997 MB / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.1565, allocations: 0 / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.618e-05/0.1566, allocations: 11.92 kB / 0.5861 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.1567, allocations: 11.88 kB / 0.5861 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.1569, allocations: 31.95 kB / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.382e-05/0.157, allocations: 83.66 kB / 0.5862 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1571, allocations: 40.2 kB / 0.5863 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.55e-05/0.1572, allocations: 43.83 kB / 0.5863 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.1573, allocations: 43.84 kB / 0.5863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1573, allocations: 4 kB / 0.5863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.996e-05/0.1573, allocations: 12 kB / 0.5863 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.1574, allocations: 23.91 kB / 0.5864 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.1574, allocations: 39.73 kB / 0.5864 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.1575, allocations: 87.98 kB / 0.5865 GB, free: 2.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1575, allocations: 0 / 0.5865 GB, free: 2.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1576, allocations: 0 / 0.5865 GB, free: 2.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.299e-06/0.1576, allocations: 0 / 0.5865 GB, free: 2.191 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.000423/0.158, allocations: 411 kB / 0.5869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.158, allocations: 8.031 kB / 0.5869 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.1581, allocations: 38.75 kB / 0.5869 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.1581, allocations: 12.83 kB / 0.5869 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1582, allocations: 200 kB / 0.5871 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-06/0.1583, allocations: 384 / 0.5871 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1583, allocations: 8.375 kB / 0.5871 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.1585, allocations: 109.8 kB / 0.5872 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.1585, allocations: 4 kB / 0.5872 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1585, allocations: 4 kB / 0.5873 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-06/0.1586, allocations: 0 / 0.5873 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.1588, allocations: 91.94 kB / 0.5873 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.1593, allocations: 392.5 kB / 0.5877 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1594, allocations: 62.48 kB / 0.5878 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1595, allocations: 48.95 kB / 0.5878 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.1596, allocations: 4 kB / 0.5878 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.1596, allocations: 38.56 kB / 0.5879 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.1596, allocations: 0 / 0.5879 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004004/0.16, allocations: 165.5 kB / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.1601, allocations: 55.34 kB / 0.5881 GB, free: 392 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.853e-05/0.1602, allocations: 132 kB / 0.5882 GB, free: 252 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1602, allocations: 37.58 kB / 0.5882 GB, free: 208 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.1602, allocations: 104 kB / 0.5883 GB, free: 100 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.1603, allocations: 23.73 kB / 0.5884 GB, free: 76 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.1603, allocations: 25.7 kB / 0.5884 GB, free: 44 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1604, allocations: 314.8 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.1605, allocations: 43.95 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.355e-05/0.1606, allocations: 39.97 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.1608, allocations: 88.81 kB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1608, allocations: 0 / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002525/0.1611, allocations: 125.5 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.1611, allocations: 4 kB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.1611, allocations: 0 / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.1611, allocations: 3.938 kB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1613, allocations: 19.92 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1613, allocations: 8 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.1613, allocations: 7.984 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.1614, allocations: 4 kB / 0.589 GB, free: 15.38 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 7.864e-05/0.1615, allocations: 117.8 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.1615, allocations: 11.91 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.1618, allocations: 138.8 kB / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1618, allocations: 7.938 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1618, allocations: 8 kB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1618, allocations: 0 / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.162, allocations: 209.5 kB / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.162, allocations: 0 / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.1622, allocations: 19.98 kB / 0.5895 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1622, allocations: 0 / 0.5895 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1622, allocations: 4 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1622, allocations: 3.938 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1622, allocations: 0 / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.1625, allocations: 219.4 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.1625, allocations: 85.02 kB / 0.5898 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.1626, allocations: 4 kB / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.1627, allocations: 11.92 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.1627, allocations: 11.92 kB / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1627, allocations: 8 kB / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.501e-05/0.1628, allocations: 99.27 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.903e-06/0.1628, allocations: 0 / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002258/0.163, allocations: 19.84 kB / 0.5899 GB, free: 14.32 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.0005467/0.1636, allocations: 0.7631 MB / 0.5907 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.1638, allocations: 107.8 kB / 0.5908 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1638, allocations: 0 / 0.5908 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.164, allocations: 51.97 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.1642, allocations: 5.969 kB / 0.5909 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.1658, allocations: 1.625 MB / 0.5924 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.166, allocations: 0.7157 MB / 0.5931 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000101/0.1661, allocations: 11.98 kB / 0.5931 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.1662, allocations: 27.42 kB / 0.5932 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1662, allocations: 0 / 0.5932 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9696/1.136, allocations: 1.819 MB / 0.595 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/1.136, allocations: 190.7 kB / 0.5951 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/3.249, allocations: 0 / 0.5951 GB, free: 8.934 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/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)