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.001065/0.001064, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001194/0.001193, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8938/0.8938, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 60.88 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1578, allocations: 80.92 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002556/0.1604, allocations: 1.636 MB / 0.5854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007367/0.1611, allocations: 0.4997 MB / 0.5859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.1612, allocations: 0 / 0.5859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.692e-05/0.1613, allocations: 11.92 kB / 0.5859 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.751e-05/0.1613, allocations: 19.8 kB / 0.5859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.1615, allocations: 27.97 kB / 0.5859 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.005e-05/0.1616, allocations: 79.72 kB / 0.586 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1617, allocations: 44.19 kB / 0.5861 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.986e-05/0.1618, allocations: 35.84 kB / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.1619, allocations: 35.84 kB / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1619, allocations: 4 kB / 0.5861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.833e-05/0.162, allocations: 15.98 kB / 0.5862 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.162, allocations: 15.92 kB / 0.5862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.1621, allocations: 39.73 kB / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.1622, allocations: 87.92 kB / 0.5863 GB, free: 2.344 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1622, allocations: 0 / 0.5863 GB, free: 2.344 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1622, allocations: 3.938 kB / 0.5863 GB, free: 2.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.1622, allocations: 4 kB / 0.5863 GB, free: 2.336 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.0004846/0.1627, allocations: 407.1 kB / 0.5867 GB, free: 1.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1628, allocations: 8.031 kB / 0.5867 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.1628, allocations: 38.75 kB / 0.5867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.1628, allocations: 12.84 kB / 0.5867 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.163, allocations: 190.6 kB / 0.5869 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.163, allocations: 8.375 kB / 0.5869 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.163, allocations: 4.375 kB / 0.5869 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.1633, allocations: 118.2 kB / 0.5871 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1633, allocations: 7.984 kB / 0.5871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1633, allocations: 0 / 0.5871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1633, allocations: 3.938 kB / 0.5871 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.1636, allocations: 95.94 kB / 0.5872 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.1641, allocations: 388.5 kB / 0.5875 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1643, allocations: 54.55 kB / 0.5876 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1644, allocations: 48.95 kB / 0.5876 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.1644, allocations: 8 kB / 0.5876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.1645, allocations: 30.56 kB / 0.5877 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.1645, allocations: 0 / 0.5877 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004402/0.1649, allocations: 169.6 kB / 0.5878 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.165, allocations: 55.34 kB / 0.5879 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.1651, allocations: 133.8 kB / 0.588 GB, free: 404 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1651, allocations: 29.7 kB / 0.588 GB, free: 368 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.1651, allocations: 104 kB / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.1652, allocations: 15.8 kB / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.1652, allocations: 25.7 kB / 0.5882 GB, free: 212 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1653, allocations: 314.8 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.1654, allocations: 39.97 kB / 0.5885 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-05/0.1655, allocations: 44.03 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.1658, allocations: 88.8 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1658, allocations: 7.938 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002741/0.1661, allocations: 125.5 kB / 0.5888 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1661, allocations: 8 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1661, allocations: 0 / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1661, allocations: 7.938 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1663, allocations: 15.98 kB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1663, allocations: 0 / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.881e-05/0.1664, allocations: 15.98 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1664, allocations: 0 / 0.5888 GB, free: 15.54 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.668e-05/0.1665, allocations: 121.8 kB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.1665, allocations: 7.906 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.1669, allocations: 146.3 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1669, allocations: 3.938 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1669, allocations: 4 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1669, allocations: 0 / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.1671, allocations: 209.5 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1671, allocations: 0 / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.1672, allocations: 20.17 kB / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1673, allocations: 0 / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1673, allocations: 4 kB / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1673, allocations: 11.94 kB / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1673, allocations: 0 / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.1676, allocations: 223.3 kB / 0.5895 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.1676, allocations: 85.02 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1677, allocations: 0 / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1678, allocations: 15.92 kB / 0.5896 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.1678, allocations: 11.98 kB / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1678, allocations: 4 kB / 0.5896 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.017e-05/0.1679, allocations: 97.77 kB / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1679, allocations: 0 / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002382/0.1682, allocations: 19.91 kB / 0.5897 GB, free: 14.47 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.0005846/0.1687, allocations: 0.767 MB / 0.5905 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.169, allocations: 91.94 kB / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.169, allocations: 0 / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.1692, allocations: 55.91 kB / 0.5906 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.1694, allocations: 18.47 kB / 0.5907 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.1711, allocations: 1.612 MB / 0.5922 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.1713, allocations: 0.7082 MB / 0.5929 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.1714, allocations: 20.31 kB / 0.5929 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.1715, allocations: 27.42 kB / 0.593 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1715, allocations: 0 / 0.593 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0103/0.1818, allocations: 1.779 MB / 0.5947 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/0.182, allocations: 195.7 kB / 0.5949 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/2.325, allocations: 0 / 0.5949 GB, free: 9.117 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)