Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001676/0.001676, allocations: 107.5 kB / 16.45 MB, free: 6.488 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.001889/0.001889, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.519/1.519, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.8547/0.8547, allocations: 134 MB / 436.6 MB, free: 1.273 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.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 72.98 kB / 0.6052 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1542, allocations: 84.66 MB / 0.6878 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001728/0.1559, allocations: 0.5897 MB / 0.6884 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002178/0.1562, allocations: 39.86 kB / 0.6885 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.702e-05/0.1562, allocations: 0 / 0.6885 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.1562, allocations: 3.938 kB / 0.6885 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.283e-05/0.1562, allocations: 4 kB / 0.6885 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.1564, allocations: 19.91 kB / 0.6885 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.091e-05/0.1565, allocations: 11.94 kB / 0.6885 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.1565, allocations: 4 kB / 0.6885 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.563e-05/0.1565, allocations: 0 / 0.6885 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.534e-05/0.1566, allocations: 0 / 0.6885 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1566, allocations: 4 kB / 0.6885 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.964e-05/0.1567, allocations: 19.97 kB / 0.6885 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.1567, allocations: 0 / 0.6885 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.1567, allocations: 11.94 kB / 0.6885 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.698e-05/0.1568, allocations: 24.12 kB / 0.6886 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1568, allocations: 4 kB / 0.6886 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1568, allocations: 0 / 0.6886 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.1568, allocations: 0 / 0.6886 GB, free: 10.33 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000361/0.1572, allocations: 349.2 kB / 0.6889 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1572, allocations: 12.03 kB / 0.6889 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.1573, allocations: 30.75 kB / 0.6889 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.1573, allocations: 12.89 kB / 0.6889 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1574, allocations: 164.4 kB / 0.6891 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1574, allocations: 384 / 0.6891 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.1574, allocations: 384 / 0.6891 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.1575, allocations: 58.19 kB / 0.6892 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1575, allocations: 3.938 kB / 0.6892 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1576, allocations: 8 kB / 0.6892 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.1576, allocations: 4 kB / 0.6892 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.653e-05/0.1576, allocations: 23.98 kB / 0.6892 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.158, allocations: 268.7 kB / 0.6895 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.903e-05/0.158, allocations: 30.5 kB / 0.6895 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.158, allocations: 8.797 kB / 0.6895 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.158, allocations: 0 / 0.6895 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1581, allocations: 42.61 kB / 0.6895 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1581, allocations: 0 / 0.6895 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001654/0.1582, allocations: 63.41 kB / 0.6896 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.1583, allocations: 81.11 kB / 0.6897 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.1584, allocations: 113.8 kB / 0.6898 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1584, allocations: 25.7 kB / 0.6898 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.1585, allocations: 111.8 kB / 0.6899 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.46e-06/0.1585, allocations: 4.125 kB / 0.6899 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.1585, allocations: 25.7 kB / 0.6899 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1586, allocations: 314.8 kB / 0.6902 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.1587, allocations: 12.41 kB / 0.6902 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.866e-05/0.1587, allocations: 54.86 kB / 0.6903 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.1589, allocations: 142.1 kB / 0.6904 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1589, allocations: 3.938 kB / 0.6904 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001619/0.159, allocations: 119.2 kB / 0.6906 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.1591, allocations: 33.7 kB / 0.6906 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1591, allocations: 0 / 0.6906 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1591, allocations: 4 kB / 0.6906 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.1592, allocations: 15.94 kB / 0.6906 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1592, allocations: 256 / 0.6906 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.532e-05/0.1592, allocations: 8 kB / 0.6906 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.1592, allocations: 15.94 kB / 0.6906 GB, free: 7.887 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001013/0.1593, allocations: 147.4 kB / 0.6908 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.1594, allocations: 7.953 kB / 0.6908 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.671e-05/0.1594, allocations: 3.531 kB / 0.6908 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1594, allocations: 0 / 0.6908 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1594, allocations: 0 / 0.6908 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1594, allocations: 0 / 0.6908 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.1596, allocations: 161.6 kB / 0.6909 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1596, allocations: 0 / 0.6909 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-06/0.1596, allocations: 8 kB / 0.6909 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1596, allocations: 3.984 kB / 0.6909 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1596, allocations: 0 / 0.6909 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1596, allocations: 0 / 0.6909 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1596, allocations: 3.938 kB / 0.6909 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.1597, allocations: 161.2 kB / 0.6911 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.1597, allocations: 85.12 kB / 0.6912 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.1598, allocations: 4 kB / 0.6912 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.376e-05/0.1598, allocations: 0 / 0.6912 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.1598, allocations: 0 / 0.6912 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1598, allocations: 4 kB / 0.6912 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.313e-05/0.1599, allocations: 103.6 kB / 0.6913 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1599, allocations: 0 / 0.6913 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002406/0.1601, allocations: 8 kB / 0.6913 GB, free: 7.086 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004807/0.1606, allocations: 0.7102 MB / 0.692 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.1607, allocations: 83.33 kB / 0.6921 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1607, allocations: 0 / 0.6921 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.509e-05/0.1608, allocations: 63.86 kB / 0.6921 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.161, allocations: 6.125 kB / 0.6921 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.1614, allocations: 146.5 kB / 0.6923 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1617, allocations: 0.6768 MB / 0.6929 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.527e-05/0.1618, allocations: 15.97 kB / 0.693 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.1618, allocations: 15.38 kB / 0.693 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1618, allocations: 0 / 0.693 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.1855, allocations: 1.434 MB / 0.6944 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.219, allocations: 5.438 kB / 0.6944 GB, free: 3.953 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.812725850846618] Failed to read output from testmodel.py, exit status != 0: 8.289550515823066 8.316653254 8.154834598 Calling exit ...