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.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.001461/0.001461, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001632/0.001632, allocations: 163.7 kB / 22.46 MB, free: 5.359 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.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.224/1.224, allocations: 154.6 MB / 413.8 MB, free: 5.262 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.6186 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.013e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001884/0.001915, allocations: 0.591 MB / 0.6192 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002647/0.002179, allocations: 31.88 kB / 0.6193 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.002205, allocations: 0 / 0.6193 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.002244, allocations: 1.156 kB / 0.6193 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.275e-05/0.002287, allocations: 3.938 kB / 0.6193 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.002523, allocations: 21.3 kB / 0.6193 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.421e-05/0.002607, allocations: 4 kB / 0.6193 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.002649, allocations: 4 kB / 0.6193 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.002684, allocations: 7.938 kB / 0.6193 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.322e-05/0.002747, allocations: 10.05 kB / 0.6193 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.002763, allocations: 0 / 0.6193 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.001e-05/0.002853, allocations: 15.98 kB / 0.6193 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.002882, allocations: 0 / 0.6193 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.002912, allocations: 7.984 kB / 0.6193 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.003026, allocations: 23.91 kB / 0.6193 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.003034, allocations: 8.5 kB / 0.6194 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003035, allocations: 4 kB / 0.6194 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.003039, allocations: 0 / 0.6194 GB, free: 3.785 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004023/0.003441, allocations: 276 kB / 0.6196 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.003483, allocations: 8.031 kB / 0.6196 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.003526, allocations: 4.938 kB / 0.6196 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.003631, allocations: 105.8 kB / 0.6197 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.003645, allocations: 384 / 0.6197 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.003659, allocations: 12.31 kB / 0.6197 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.00384, allocations: 83.89 kB / 0.6198 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.003848, allocations: 192 / 0.6198 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.003859, allocations: 384 / 0.6198 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.789e-05/0.003897, allocations: 16.34 kB / 0.6198 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.003971, allocations: 57.61 kB / 0.6199 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.004346, allocations: 208.5 kB / 0.6201 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/0.004429, allocations: 52.22 kB / 0.6201 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.004466, allocations: 30.56 kB / 0.6202 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.004475, allocations: 0 / 0.6202 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.00452, allocations: 38.56 kB / 0.6202 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.004521, allocations: 0 / 0.6202 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002523/0.004773, allocations: 118.8 kB / 0.6203 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.114e-05/0.004854, allocations: 85.23 kB / 0.6204 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.004983, allocations: 121.7 kB / 0.6205 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.005006, allocations: 25.7 kB / 0.6205 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.005099, allocations: 103.9 kB / 0.6206 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.005109, allocations: 7.891 kB / 0.6207 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.005168, allocations: 25.7 kB / 0.6207 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.005326, allocations: 314.8 kB / 0.621 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.395e-05/0.00537, allocations: 37.69 kB / 0.621 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.11e-05/0.005461, allocations: 88.52 kB / 0.6211 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.005607, allocations: 138.1 kB / 0.6212 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.005609, allocations: 0 / 0.6212 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001937/0.005803, allocations: 141.1 kB / 0.6214 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.005844, allocations: 37.73 kB / 0.6214 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.005852, allocations: 0 / 0.6214 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.005871, allocations: 4 kB / 0.6214 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.005951, allocations: 15.94 kB / 0.6214 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.005967, allocations: 7.984 kB / 0.6214 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.00604, allocations: 7.953 kB / 0.6214 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.006056, allocations: 4 kB / 0.6214 GB, free: 1.332 MB / 0.5294 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.0001283/0.006184, allocations: 148.5 kB / 0.6216 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.006212, allocations: 3.938 kB / 0.6216 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.006234, allocations: 11.45 kB / 0.6216 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006236, allocations: 4 kB / 0.6216 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.006241, allocations: 0 / 0.6216 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.006244, allocations: 0 / 0.6216 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.006396, allocations: 101.3 kB / 0.6217 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006396, allocations: 3.938 kB / 0.6217 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-06/0.0064, allocations: 3.938 kB / 0.6217 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.006402, allocations: 0 / 0.6217 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.006412, allocations: 11.92 kB / 0.6217 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006413, allocations: 0 / 0.6217 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006414, allocations: 0 / 0.6217 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.006586, allocations: 191 kB / 0.6219 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.006599, allocations: 11.94 kB / 0.6219 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.006611, allocations: 0 / 0.6219 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.573e-05/0.006667, allocations: 0 / 0.6219 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.006687, allocations: 8 kB / 0.6219 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.006692, allocations: 0 / 0.6219 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.006752, allocations: 87.27 kB / 0.622 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.006753, allocations: 0 / 0.622 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002499/0.007002, allocations: 15.94 kB / 0.622 GB, free: 0.6641 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 (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.0001901/0.007192, allocations: 107.3 kB / 0.6221 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.007393, allocations: 142.7 kB / 0.6223 GB, free: 396 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.007395, allocations: 4 kB / 0.6223 GB, free: 392 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.513e-05/0.00745, allocations: 81.11 kB / 0.6223 GB, free: 292 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.007652, allocations: 2.188 kB / 0.6223 GB, free: 292 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.007965, allocations: 138.5 kB / 0.6225 GB, free: 120 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.56e-05/0.008041, allocations: 63.34 kB / 0.6225 GB, free: 36 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.793e-05/0.008139, allocations: 16.55 kB / 0.6225 GB, free: 20 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.008157, allocations: 8.5 kB / 0.6226 GB, free: 12 kB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.008157, allocations: 0 / 0.6226 GB, free: 12 kB / 0.5294 GB Notification: Performance of Templates: time 0.003222/0.01138, allocations: 0.5498 MB / 0.6231 GB, free: 15.47 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.702268581837416] Failed to read output from testmodel.py, exit status != 0: 0.021359439939260483 0.037774752 0.031379847 Calling exit ...