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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 110.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.8499/0.8499, allocations: 134 MB / 436.6 MB, free: 1.293 MB / 334.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.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_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: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 68.53 kB / 0.6051 GB, free: 15.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1612, allocations: 84.67 MB / 0.6878 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002806/0.164, allocations: 1.599 MB / 0.6894 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009237/0.1649, allocations: 0.5112 MB / 0.6899 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.165, allocations: 0 / 0.6899 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.1651, allocations: 11.86 kB / 0.6899 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.614e-05/0.1651, allocations: 15.88 kB / 0.6899 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1654, allocations: 43.88 kB / 0.6899 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1655, allocations: 79.77 kB / 0.69 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1656, allocations: 44.34 kB / 0.6901 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.993e-05/0.1657, allocations: 35.86 kB / 0.6901 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.1658, allocations: 35.84 kB / 0.6901 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1658, allocations: 8 kB / 0.6901 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.371e-05/0.1659, allocations: 15.98 kB / 0.6901 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.1659, allocations: 27.91 kB / 0.6902 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.166, allocations: 43.73 kB / 0.6902 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1662, allocations: 87.58 kB / 0.6903 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1662, allocations: 0 / 0.6903 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1662, allocations: 0 / 0.6903 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.1662, allocations: 3.938 kB / 0.6903 GB, free: 8.512 MB / 0.5137 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.0005818/0.1667, allocations: 399 kB / 0.6907 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1668, allocations: 16.02 kB / 0.6907 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.1668, allocations: 34.75 kB / 0.6907 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.1669, allocations: 16.89 kB / 0.6907 GB, free: 8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1671, allocations: 196.1 kB / 0.6909 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1671, allocations: 4.375 kB / 0.6909 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1671, allocations: 8.375 kB / 0.6909 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.1674, allocations: 101.8 kB / 0.691 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1674, allocations: 7.969 kB / 0.6911 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1674, allocations: 8 kB / 0.6911 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1674, allocations: 0 / 0.6911 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.1676, allocations: 99.88 kB / 0.6912 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.1682, allocations: 372.6 kB / 0.6915 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.1684, allocations: 58.48 kB / 0.6916 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1685, allocations: 52.94 kB / 0.6916 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.1686, allocations: 4 kB / 0.6916 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1686, allocations: 34.56 kB / 0.6917 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1686, allocations: 0 / 0.6917 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0004502/0.169, allocations: 161.8 kB / 0.6918 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1691, allocations: 59.34 kB / 0.6919 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.1692, allocations: 133.8 kB / 0.692 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1692, allocations: 25.7 kB / 0.692 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.1693, allocations: 112.1 kB / 0.6921 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.1693, allocations: 19.84 kB / 0.6921 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1693, allocations: 21.72 kB / 0.6922 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1695, allocations: 318.8 kB / 0.6925 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.1696, allocations: 43.97 kB / 0.6925 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-05/0.1697, allocations: 40.03 kB / 0.6925 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.1699, allocations: 88.8 kB / 0.6926 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1699, allocations: 0 / 0.6926 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002593/0.1702, allocations: 125.5 kB / 0.6928 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.1702, allocations: 15.98 kB / 0.6928 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1702, allocations: 0 / 0.6928 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1702, allocations: 7.875 kB / 0.6928 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1703, allocations: 15.98 kB / 0.6928 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1703, allocations: 0 / 0.6928 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.1704, allocations: 19.88 kB / 0.6928 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.1704, allocations: 0 / 0.6928 GB, free: 5.711 MB / 0.5137 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 0.0001388/0.1706, allocations: 117.8 kB / 0.6929 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.1706, allocations: 15.95 kB / 0.6929 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003523/0.171, allocations: 142.2 kB / 0.6931 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.171, allocations: 3.938 kB / 0.6931 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.171, allocations: 0 / 0.6931 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.171, allocations: 4 kB / 0.6931 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.1712, allocations: 201.6 kB / 0.6933 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1712, allocations: 0 / 0.6933 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1713, allocations: 24.22 kB / 0.6933 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1713, allocations: 4 kB / 0.6933 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1713, allocations: 4 kB / 0.6933 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.1713, allocations: 7.938 kB / 0.6933 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1713, allocations: 0 / 0.6933 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.1717, allocations: 215.4 kB / 0.6935 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.1717, allocations: 85.06 kB / 0.6936 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.1717, allocations: 8 kB / 0.6936 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1718, allocations: 15.86 kB / 0.6936 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.1719, allocations: 4 kB / 0.6936 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1719, allocations: 3.984 kB / 0.6936 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.038e-05/0.172, allocations: 105.3 kB / 0.6937 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.172, allocations: 3.938 kB / 0.6937 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002363/0.1722, allocations: 15.94 kB / 0.6937 GB, free: 4.645 MB / 0.5137 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.000659/0.1729, allocations: 0.767 MB / 0.6945 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.1731, allocations: 103.9 kB / 0.6946 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1732, allocations: 0 / 0.6946 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1733, allocations: 51.97 kB / 0.6946 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.1735, allocations: 7.938 kB / 0.6947 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.1754, allocations: 1.589 MB / 0.6962 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.1757, allocations: 0.7079 MB / 0.6969 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.1758, allocations: 20.39 kB / 0.6969 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.1758, allocations: 23.44 kB / 0.6969 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of SimCode: time 7.71e-07/0.1759, allocations: 0 / 0.6969 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.2003, allocations: 2.011 MB / 0.6989 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.16, allocations: 14.58 kB / 0.6989 GB, free: 15.32 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.767167781945318] Failed to read output from testmodel.py, exit status != 0: 8.228444286622107 8.252154517 8.081671906 Calling exit ...