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.00148/0.00148, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001627/0.001627, allocations: 212.2 kB / 23.04 MB, free: 5.078 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.8553/0.8553, allocations: 134 MB / 447.2 MB, free: 10.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="cs",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.001911/0.001911, allocations: 67.42 kB / 0.6193 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1708, allocations: 85.9 MB / 0.7032 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002744/0.1735, allocations: 1.637 MB / 0.7048 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009947/0.1745, allocations: 0.6009 MB / 0.7054 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.1746, allocations: 11.88 kB / 0.7054 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.65e-05/0.1747, allocations: 11.86 kB / 0.7054 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.152e-05/0.1747, allocations: 19.8 kB / 0.7054 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.175, allocations: 67.84 kB / 0.7055 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1751, allocations: 83.7 kB / 0.7056 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1753, allocations: 36.2 kB / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1754, allocations: 47.78 kB / 0.7057 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.1755, allocations: 39.83 kB / 0.7057 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1755, allocations: 8 kB / 0.7057 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.538e-05/0.1756, allocations: 16 kB / 0.7057 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.1756, allocations: 19.92 kB / 0.7057 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.1757, allocations: 51.72 kB / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1758, allocations: 95.58 kB / 0.7059 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1758, allocations: 0 / 0.7059 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1758, allocations: 0 / 0.7059 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1758, allocations: 0 / 0.7059 GB, free: 14.68 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.0005104/0.1763, allocations: 337.8 kB / 0.7062 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1764, allocations: 8.031 kB / 0.7062 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.952e-05/0.1764, allocations: 8.188 kB / 0.7062 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.1764, allocations: 42.73 kB / 0.7063 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/0.1767, allocations: 36.86 kB / 0.7063 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.177, allocations: 150.8 kB / 0.7064 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.177, allocations: 12.12 kB / 0.7064 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.177, allocations: 4 kB / 0.7065 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.1773, allocations: 105.6 kB / 0.7066 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1773, allocations: 8 kB / 0.7066 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1773, allocations: 0 / 0.7066 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1773, allocations: 0 / 0.7066 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002396/0.1775, allocations: 99.88 kB / 0.7067 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005836/0.1781, allocations: 347.7 kB / 0.707 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1783, allocations: 58.48 kB / 0.707 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.1784, allocations: 44.95 kB / 0.7071 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-05/0.1784, allocations: 15.97 kB / 0.7071 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1785, allocations: 30.56 kB / 0.7071 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1785, allocations: 0 / 0.7071 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0004918/0.1789, allocations: 169.5 kB / 0.7073 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.179, allocations: 55.34 kB / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1791, allocations: 140.2 kB / 0.7075 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1791, allocations: 29.7 kB / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.1792, allocations: 108.2 kB / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.1792, allocations: 15.86 kB / 0.7076 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.1793, allocations: 29.64 kB / 0.7077 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1794, allocations: 318.8 kB / 0.708 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1796, allocations: 39.97 kB / 0.708 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1797, allocations: 39.97 kB / 0.708 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.1799, allocations: 88.8 kB / 0.7081 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1799, allocations: 0 / 0.7081 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002913/0.1802, allocations: 137.9 kB / 0.7083 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1802, allocations: 4 kB / 0.7083 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1802, allocations: 0 / 0.7083 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1802, allocations: 0 / 0.7083 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1804, allocations: 19.98 kB / 0.7083 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1804, allocations: 4 kB / 0.7083 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.757e-05/0.1805, allocations: 11.92 kB / 0.7083 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.1805, allocations: 8 kB / 0.7083 GB, free: 12.01 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 0.0001015/0.1806, allocations: 117.8 kB / 0.7084 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.1806, allocations: 19.83 kB / 0.7084 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.181, allocations: 150.2 kB / 0.7086 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.181, allocations: 0 / 0.7086 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.181, allocations: 0 / 0.7086 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.181, allocations: 0 / 0.7086 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.1812, allocations: 184.7 kB / 0.7087 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1812, allocations: 3.938 kB / 0.7088 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1813, allocations: 15.98 kB / 0.7088 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1813, allocations: 0 / 0.7088 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1813, allocations: 0 / 0.7088 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1813, allocations: 4 kB / 0.7088 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1813, allocations: 0 / 0.7088 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.1817, allocations: 227.4 kB / 0.709 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.1817, allocations: 11.89 kB / 0.709 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1817, allocations: 0 / 0.709 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.866e-05/0.1818, allocations: 7.984 kB / 0.709 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.1819, allocations: 7.984 kB / 0.709 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1819, allocations: 8 kB / 0.709 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.412e-05/0.182, allocations: 108.6 kB / 0.7091 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.182, allocations: 0 / 0.7091 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002455/0.1822, allocations: 19.89 kB / 0.7091 GB, free: 11.07 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.0007364/0.183, allocations: 0.7633 MB / 0.7099 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002943/0.1832, allocations: 99.88 kB / 0.71 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1832, allocations: 0 / 0.71 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1834, allocations: 51.95 kB / 0.71 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.1836, allocations: 7.938 kB / 0.71 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.1855, allocations: 1.629 MB / 0.7116 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1859, allocations: 0.7027 MB / 0.7123 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.299e-05/0.186, allocations: 15.73 kB / 0.7123 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.186, allocations: 31.42 kB / 0.7124 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.186, allocations: 0 / 0.7124 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.2094, allocations: 2.249 MB / 0.7146 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.27, allocations: 14.39 kB / 0.7146 GB, free: 5.527 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.95582336303778] Failed to read output from testmodel.py, exit status != 0: 11.432053367025219 11.460089424 11.279420663 Calling exit ...