Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001342/0.001342, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.001463/0.001463, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.9558/0.9558, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.796/0.796, allocations: 154.9 MB / 415.9 MB, free: 244 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.522 GB, free: 1.41 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.046e-05, allocations: 4.5 kB / 0.522 GB, free: 1.406 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001624/0.001644, allocations: 0.5989 MB / 0.5225 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002421/0.001886, allocations: 36.64 kB / 0.5226 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.001915, allocations: 0 / 0.5226 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.584e-05/0.00196, allocations: 0.7188 kB / 0.5226 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.867e-05/0.002009, allocations: 5.328 kB / 0.5226 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.002276, allocations: 15.98 kB / 0.5226 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.509e-05/0.002362, allocations: 1.844 kB / 0.5226 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.042e-05/0.002432, allocations: 7.984 kB / 0.5226 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.002477, allocations: 4.484 kB / 0.5226 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.427e-05/0.002531, allocations: 0.5938 kB / 0.5226 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.002547, allocations: 3.938 kB / 0.5226 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.002637, allocations: 20.73 kB / 0.5226 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.002668, allocations: 4 kB / 0.5226 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.002687, allocations: 7.156 kB / 0.5226 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.002794, allocations: 27.89 kB / 0.5227 GB, free: 0.707 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002796, allocations: 0 / 0.5227 GB, free: 0.707 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.002797, allocations: 0 / 0.5227 GB, free: 0.707 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.002801, allocations: 4 kB / 0.5227 GB, free: 0.7031 MB / 490.7 MB 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.0003376/0.003139, allocations: 370.1 kB / 0.523 GB, free: 304 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.003179, allocations: 11.97 kB / 0.523 GB, free: 292 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.003214, allocations: 4.938 kB / 0.523 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.269e-05/0.003286, allocations: 113.5 kB / 0.5232 GB, free: 148 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.003298, allocations: 384 / 0.5232 GB, free: 148 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.003306, allocations: 4.375 kB / 0.5232 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.717e-05/0.003403, allocations: 68.44 kB / 0.5232 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.003411, allocations: 0.6875 kB / 0.5232 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.003419, allocations: 1.312 kB / 0.5232 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.003446, allocations: 4.375 kB / 0.5232 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/0.003482, allocations: 41.62 kB / 0.5233 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.003762, allocations: 258.2 kB / 0.5235 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.515e-05/0.003817, allocations: 52.77 kB / 0.5236 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.003841, allocations: 37.45 kB / 0.5236 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-06/0.003845, allocations: 3.938 kB / 0.5236 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.003868, allocations: 34.36 kB / 0.5236 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.00387, allocations: 0 / 0.5236 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001641/0.004034, allocations: 132.8 kB / 0.5238 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.004075, allocations: 77.11 kB / 0.5238 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.004168, allocations: 170 kB / 0.524 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.831e-05/0.004247, allocations: 25.7 kB / 0.524 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.004314, allocations: 162.6 kB / 0.5242 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-06/0.00432, allocations: 0.75 kB / 0.5242 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.004363, allocations: 27.38 kB / 0.5242 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.004495, allocations: 496.8 kB / 0.5247 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.004519, allocations: 33.69 kB / 0.5247 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.004581, allocations: 100 kB / 0.5248 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.004688, allocations: 155.8 kB / 0.525 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.004691, allocations: 0 / 0.525 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001415/0.004832, allocations: 144.7 kB / 0.5251 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.004862, allocations: 33.7 kB / 0.5251 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.004868, allocations: 0 / 0.5251 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.004879, allocations: 4 kB / 0.5251 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.004944, allocations: 8 kB / 0.5251 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.00495, allocations: 8.094 kB / 0.5251 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.00502, allocations: 12.44 kB / 0.5252 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.005035, allocations: 10.73 kB / 0.5252 GB, free: 13.81 MB / 0.4948 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.827e-05/0.005123, allocations: 186.2 kB / 0.5253 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.005153, allocations: 11.89 kB / 0.5254 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.005168, allocations: 11.47 kB / 0.5254 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.00517, allocations: 0 / 0.5254 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.005171, allocations: 4 kB / 0.5254 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005174, allocations: 0 / 0.5254 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.005295, allocations: 99.44 kB / 0.5255 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005296, allocations: 0 / 0.5255 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.005297, allocations: 0 / 0.5255 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.005301, allocations: 3.984 kB / 0.5255 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.005308, allocations: 3.938 kB / 0.5255 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.00531, allocations: 3.984 kB / 0.5255 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.005313, allocations: 4.875 kB / 0.5255 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.005592, allocations: 239.3 kB / 0.5257 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.005602, allocations: 4.766 kB / 0.5257 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.005615, allocations: 7.938 kB / 0.5257 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.812e-05/0.005673, allocations: 1.031 kB / 0.5257 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.005684, allocations: 4 kB / 0.5257 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.005691, allocations: 4 kB / 0.5257 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.827e-05/0.005739, allocations: 128.4 kB / 0.5259 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.005739, allocations: 0 / 0.5259 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000286/0.006025, allocations: 8 kB / 0.5259 GB, free: 13.03 MB / 0.4948 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.0001305/0.006156, allocations: 100.5 kB / 0.526 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.006309, allocations: 153.8 kB / 0.5261 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006311, allocations: 0 / 0.5261 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.006353, allocations: 88.8 kB / 0.5262 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.006575, allocations: 4 kB / 0.5262 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000207/0.006782, allocations: 144 kB / 0.5263 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.971e-05/0.006822, allocations: 55.34 kB / 0.5264 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.006846, allocations: 7 kB / 0.5264 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/0.006906, allocations: 74.2 kB / 0.5265 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of SimCode: time 5e-07/0.006906, allocations: 1.719 kB / 0.5265 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.00262/0.009526, allocations: 0.6035 MB / 0.5271 GB, free: 11.74 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7363363462500274]