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.00067/0.00067, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0006992/0.0006992, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8741/0.8741, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7134/0.7134, allocations: 154.6 MB / 414.5 MB, free: 0.8203 MB / 378.7 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 179] 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 1.713e-06/1.713e-06, allocations: 0 / 0.6194 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.981e-05, allocations: 11.17 kB / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001268/0.001298, allocations: 0.5839 MB / 0.62 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002059/0.001504, allocations: 31.89 kB / 0.62 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.001523, allocations: 0 / 0.62 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.001553, allocations: 0 / 0.62 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.001592, allocations: 0 / 0.62 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.001816, allocations: 19.86 kB / 0.62 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.632e-05/0.001902, allocations: 11.97 kB / 0.62 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.001942, allocations: 15.94 kB / 0.62 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.001976, allocations: 0 / 0.62 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.232e-05/0.002018, allocations: 3.938 kB / 0.6201 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.002032, allocations: 0 / 0.6201 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.4e-05/0.002106, allocations: 23.97 kB / 0.6201 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.002137, allocations: 0 / 0.6201 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.002158, allocations: 4 kB / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.00226, allocations: 27.91 kB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.002262, allocations: 0 / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122e-06/0.002263, allocations: 0 / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.002267, allocations: 0 / 0.6201 GB, free: 12.37 MB / 0.5886 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.0002746/0.002542, allocations: 280 kB / 0.6204 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.002579, allocations: 8.031 kB / 0.6204 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.00261, allocations: 0.9375 kB / 0.6204 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.879e-05/0.002669, allocations: 113.8 kB / 0.6205 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.002679, allocations: 384 / 0.6205 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.002688, allocations: 384 / 0.6205 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.002815, allocations: 83.95 kB / 0.6206 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.002822, allocations: 4.125 kB / 0.6206 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.002832, allocations: 4.359 kB / 0.6206 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.002853, allocations: 4.375 kB / 0.6206 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.396e-05/0.002897, allocations: 53.62 kB / 0.6206 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.003162, allocations: 216.5 kB / 0.6208 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.781e-05/0.003209, allocations: 48.22 kB / 0.6209 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.003231, allocations: 34.62 kB / 0.6209 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.003237, allocations: 0 / 0.6209 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.003259, allocations: 34.5 kB / 0.621 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.00326, allocations: 4 kB / 0.621 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.00342, allocations: 122.8 kB / 0.6211 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.003458, allocations: 81.11 kB / 0.6211 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.003528, allocations: 113.8 kB / 0.6213 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.00354, allocations: 25.83 kB / 0.6213 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.003584, allocations: 116 kB / 0.6214 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.00359, allocations: 3.953 kB / 0.6214 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.003632, allocations: 25.66 kB / 0.6214 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.638e-05/0.003708, allocations: 318.8 kB / 0.6217 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.00374, allocations: 33.7 kB / 0.6218 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-05/0.003789, allocations: 88.5 kB / 0.6218 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.003866, allocations: 130.2 kB / 0.622 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.003869, allocations: 3.938 kB / 0.622 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001108/0.00398, allocations: 148.8 kB / 0.6221 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.004007, allocations: 33.69 kB / 0.6221 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.004012, allocations: 8.188 kB / 0.6222 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.004025, allocations: 4 kB / 0.6222 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.004088, allocations: 19.94 kB / 0.6222 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.004097, allocations: 4 kB / 0.6222 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.004156, allocations: 4 kB / 0.6222 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.00417, allocations: 4 kB / 0.6222 GB, free: 9.914 MB / 0.5886 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 8.342e-05/0.004253, allocations: 152.5 kB / 0.6223 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.004269, allocations: 7.891 kB / 0.6223 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.322e-05/0.004282, allocations: 7.422 kB / 0.6223 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.004286, allocations: 8 kB / 0.6224 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.00429, allocations: 0 / 0.6224 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.004293, allocations: 4 kB / 0.6224 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.054e-05/0.004374, allocations: 101.3 kB / 0.6225 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.004375, allocations: 0 / 0.6225 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-06/0.004376, allocations: 7.875 kB / 0.6225 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.004378, allocations: 0 / 0.6225 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.004385, allocations: 4 kB / 0.6225 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.004387, allocations: 0 / 0.6225 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.004388, allocations: 0 / 0.6225 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.78e-05/0.004485, allocations: 187 kB / 0.6226 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.004495, allocations: 3.938 kB / 0.6226 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.004505, allocations: 8.031 kB / 0.6227 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.004543, allocations: 7.984 kB / 0.6227 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.004555, allocations: 0 / 0.6227 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.004559, allocations: 4 kB / 0.6227 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.379e-05/0.004592, allocations: 87.27 kB / 0.6227 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004592, allocations: 0 / 0.6227 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001795/0.004772, allocations: 12 kB / 0.6228 GB, free: 9.25 MB / 0.5886 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.0001311/0.004903, allocations: 103.2 kB / 0.6229 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.005037, allocations: 142.7 kB / 0.623 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.005038, allocations: 0 / 0.623 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.005068, allocations: 85.09 kB / 0.6231 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.005218, allocations: 10.23 kB / 0.6231 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002324/0.005451, allocations: 156.3 kB / 0.6232 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.136e-05/0.005502, allocations: 63.34 kB / 0.6233 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.005518, allocations: 8.5 kB / 0.6233 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/0.005518, allocations: 0 / 0.6233 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of Templates: time 0.001729/0.007248, allocations: 0.7015 MB / 0.624 GB, free: 7.883 MB / 0.5886 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: 4.975903435610235] Failed to read output from testmodel.py, exit status != 0: 0.012683837674558163 0.021194886 0.017266641000000003 Calling exit ...