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.0009227/0.0009226, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.006262/0.006262, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9281/0.9281, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003318, allocations: 8 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1558, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.001823/0.1577, allocations: 1.301 MB / 0.5893 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008643/0.1586, allocations: 0.4958 MB / 0.5898 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.1587, allocations: 4 kB / 0.5898 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.1588, allocations: 3.938 kB / 0.5898 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.177e-05/0.1588, allocations: 7.875 kB / 0.5898 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1591, allocations: 31.95 kB / 0.5899 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.1592, allocations: 79.7 kB / 0.59 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.1593, allocations: 40.2 kB / 0.59 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.1594, allocations: 31.84 kB / 0.59 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.1595, allocations: 27.86 kB / 0.59 GB, free: 496 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1595, allocations: 4 kB / 0.5901 GB, free: 492 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.1596, allocations: 11.98 kB / 0.5901 GB, free: 480 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.1596, allocations: 19.86 kB / 0.5901 GB, free: 460 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.1597, allocations: 57.45 kB / 0.5901 GB, free: 396 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1598, allocations: 83.97 kB / 0.5902 GB, free: 312 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1598, allocations: 0 / 0.5902 GB, free: 312 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1598, allocations: 0 / 0.5902 GB, free: 312 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1599, allocations: 0 / 0.5902 GB, free: 312 kB / 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.0004876/0.1604, allocations: 393.3 kB / 0.5906 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1604, allocations: 16.02 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.094e-05/0.1604, allocations: 34.75 kB / 0.5906 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.1605, allocations: 12.84 kB / 0.5907 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.1606, allocations: 198.4 kB / 0.5908 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1607, allocations: 12.31 kB / 0.5909 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.1607, allocations: 4.375 kB / 0.5909 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.1609, allocations: 124.9 kB / 0.591 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.161, allocations: 0 / 0.591 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.161, allocations: 3.984 kB / 0.591 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.161, allocations: 0 / 0.591 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.1612, allocations: 111.9 kB / 0.5911 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.1618, allocations: 380.5 kB / 0.5915 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1619, allocations: 70.55 kB / 0.5915 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1621, allocations: 56.94 kB / 0.5916 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/0.1621, allocations: 11.97 kB / 0.5916 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1622, allocations: 34.56 kB / 0.5916 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.1622, allocations: 0 / 0.5916 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004655/0.1626, allocations: 185.5 kB / 0.5918 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.1627, allocations: 55.34 kB / 0.5918 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1628, allocations: 133.8 kB / 0.592 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1628, allocations: 25.7 kB / 0.592 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.1629, allocations: 104 kB / 0.5921 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.1629, allocations: 27.72 kB / 0.5921 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.1629, allocations: 13.72 kB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.163, allocations: 326.8 kB / 0.5924 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1632, allocations: 43.97 kB / 0.5925 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.1633, allocations: 43.97 kB / 0.5925 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.1635, allocations: 105.1 kB / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1635, allocations: 0 / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002692/0.1638, allocations: 141.5 kB / 0.5928 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1638, allocations: 10.03 kB / 0.5928 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1638, allocations: 0 / 0.5928 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1638, allocations: 3.938 kB / 0.5928 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.164, allocations: 19.98 kB / 0.5928 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.164, allocations: 0 / 0.5928 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.1641, allocations: 15.98 kB / 0.5928 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.1641, allocations: 4 kB / 0.5928 GB, free: 13.41 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.257e-05/0.1642, allocations: 117.8 kB / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.1642, allocations: 11.91 kB / 0.5929 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.1646, allocations: 154.3 kB / 0.5931 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.1646, allocations: 7.938 kB / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1646, allocations: 0 / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1646, allocations: 0 / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.1648, allocations: 209.5 kB / 0.5933 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1648, allocations: 0 / 0.5933 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.1649, allocations: 23.98 kB / 0.5933 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.165, allocations: 7.938 kB / 0.5933 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.165, allocations: 0 / 0.5933 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.165, allocations: 3.938 kB / 0.5933 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.165, allocations: 4 kB / 0.5933 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.1653, allocations: 231.4 kB / 0.5936 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.1653, allocations: 81.02 kB / 0.5936 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1654, allocations: 12.17 kB / 0.5936 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/0.1655, allocations: 11.94 kB / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.1655, allocations: 7.984 kB / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1655, allocations: 4 kB / 0.5937 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.017e-05/0.1656, allocations: 111.2 kB / 0.5938 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.914e-06/0.1656, allocations: 0 / 0.5938 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002232/0.1658, allocations: 19.94 kB / 0.5938 GB, free: 12.31 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.0005863/0.1664, allocations: 0.7709 MB / 0.5945 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.1667, allocations: 111.9 kB / 0.5947 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1667, allocations: 0 / 0.5947 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.1668, allocations: 59.91 kB / 0.5947 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.1671, allocations: 11.92 kB / 0.5947 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.1687, allocations: 1.648 MB / 0.5963 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.169, allocations: 0.7004 MB / 0.597 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.603e-05/0.1691, allocations: 15.98 kB / 0.597 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.1692, allocations: 27.42 kB / 0.5971 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1692, allocations: 0 / 0.5971 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1491/0.3183, allocations: 1.709 MB / 0.5987 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.3185, allocations: 195.5 kB / 0.5989 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.979, allocations: 0 / 0.5989 GB, free: 7.004 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)