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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 211.9 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8347/0.8347, allocations: 134 MB / 446.4 MB, free: 9.941 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 66.33 kB / 0.6185 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1728, allocations: 85.91 MB / 0.7024 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.0029/0.1757, allocations: 1.596 MB / 0.7039 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1767, allocations: 0.5658 MB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.1768, allocations: 7.938 kB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.1769, allocations: 7.875 kB / 0.7045 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.1769, allocations: 11.86 kB / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.1773, allocations: 79.72 kB / 0.7046 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.1774, allocations: 83.7 kB / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1775, allocations: 36.2 kB / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.1777, allocations: 43.84 kB / 0.7048 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.1778, allocations: 43.77 kB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1778, allocations: 4 kB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.837e-05/0.1779, allocations: 12 kB / 0.7048 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.1779, allocations: 23.92 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.178, allocations: 35.78 kB / 0.7049 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1782, allocations: 99.58 kB / 0.705 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1782, allocations: 0 / 0.705 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1782, allocations: 4 kB / 0.705 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1782, allocations: 3.938 kB / 0.705 GB, free: 14.39 MB / 0.5294 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.0005554/0.1787, allocations: 337.8 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1788, allocations: 8.031 kB / 0.7053 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.1788, allocations: 42.73 kB / 0.7053 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002917/0.1791, allocations: 32.86 kB / 0.7054 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1794, allocations: 154.8 kB / 0.7055 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1794, allocations: 4.375 kB / 0.7055 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1794, allocations: 7.938 kB / 0.7055 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.1797, allocations: 105.6 kB / 0.7056 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1797, allocations: 0 / 0.7056 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1797, allocations: 4 kB / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1797, allocations: 0 / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.1799, allocations: 98.33 kB / 0.7057 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.1805, allocations: 343.6 kB / 0.7061 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.1807, allocations: 54.55 kB / 0.7061 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1808, allocations: 44.95 kB / 0.7061 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.1808, allocations: 0 / 0.7061 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1809, allocations: 42.5 kB / 0.7062 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1809, allocations: 4 kB / 0.7062 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0004557/0.1813, allocations: 165.5 kB / 0.7064 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.1814, allocations: 55.41 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1815, allocations: 136.1 kB / 0.7065 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1815, allocations: 29.64 kB / 0.7066 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.1816, allocations: 108.2 kB / 0.7067 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1816, allocations: 23.84 kB / 0.7067 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.1817, allocations: 17.72 kB / 0.7067 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1818, allocations: 326.8 kB / 0.707 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1819, allocations: 39.97 kB / 0.7071 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.182, allocations: 39.91 kB / 0.7071 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.1822, allocations: 92.73 kB / 0.7072 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1822, allocations: 4.375 kB / 0.7072 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002814/0.1825, allocations: 137.5 kB / 0.7073 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1825, allocations: 4 kB / 0.7073 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1825, allocations: 0 / 0.7073 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1826, allocations: 0 / 0.7073 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1827, allocations: 15.98 kB / 0.7073 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1827, allocations: 4 kB / 0.7073 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.988e-05/0.1828, allocations: 7.984 kB / 0.7073 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.1828, allocations: 7.938 kB / 0.7074 GB, free: 11.76 MB / 0.5294 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.739e-05/0.1829, allocations: 121.8 kB / 0.7075 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.1829, allocations: 15.88 kB / 0.7075 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.1833, allocations: 150.3 kB / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1833, allocations: 0 / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1833, allocations: 0 / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1833, allocations: 0 / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.1835, allocations: 172.7 kB / 0.7078 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1835, allocations: 0 / 0.7078 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.1836, allocations: 23.86 kB / 0.7078 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1836, allocations: 4 kB / 0.7078 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1836, allocations: 0 / 0.7078 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1836, allocations: 3.984 kB / 0.7078 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1836, allocations: 4 kB / 0.7078 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.1839, allocations: 215.5 kB / 0.708 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.184, allocations: 15.88 kB / 0.708 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.184, allocations: 192 / 0.708 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.1841, allocations: 12 kB / 0.7081 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.1841, allocations: 11.98 kB / 0.7081 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1841, allocations: 4 kB / 0.7081 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.254e-05/0.1842, allocations: 113.6 kB / 0.7082 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1842, allocations: 0 / 0.7082 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002359/0.1845, allocations: 15.95 kB / 0.7082 GB, free: 10.82 MB / 0.5294 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.0006696/0.1851, allocations: 0.7669 MB / 0.7089 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.1854, allocations: 103.9 kB / 0.709 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1854, allocations: 0 / 0.709 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1855, allocations: 51.91 kB / 0.7091 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.1857, allocations: 4 kB / 0.7091 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.1876, allocations: 1.629 MB / 0.7107 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.1878, allocations: 88.19 kB / 0.7108 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.92e-05/0.1879, allocations: 15.73 kB / 0.7108 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.1879, allocations: 31.42 kB / 0.7108 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.1879, allocations: 0 / 0.7108 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.2175, allocations: 2.603 MB / 0.7134 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.33, allocations: 3.047 kB / 0.7134 GB, free: 5.543 MB / 0.5294 GB " [Timeout remaining time 649] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.941813710611314] Failed to read output from testmodel.py, exit status != 0: 11.432072965893894 11.460385092 11.277077908 Calling exit ...