Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.0008538/0.0008538, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009921/0.0009921, allocations: 173.3 kB / 23.5 MB, free: 1.055 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.9824/0.9824, allocations: 177.1 MB / 203.8 MB, free: 5.191 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.7771/0.7771, allocations: 154.8 MB / 415.1 MB, free: 428 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.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0.6562 kB / 0.5206 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.578e-05, allocations: 6.031 kB / 0.5206 GB, free: 2.191 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001307/0.001332, allocations: 0.69 MB / 0.5213 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008603/0.002193, allocations: 0.9116 MB / 0.5222 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.002219, allocations: 8.562 kB / 0.5222 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.002245, allocations: 0 / 0.5222 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.496e-05/0.00231, allocations: 9.047 kB / 0.5222 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.002447, allocations: 24.72 kB / 0.5222 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.134e-05/0.002498, allocations: 39.86 kB / 0.5223 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.00259, allocations: 9 kB / 0.5223 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.002672, allocations: 31.89 kB / 0.5223 GB, free: 500 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.103e-05/0.002714, allocations: 19.92 kB / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.002735, allocations: 1.75 kB / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-06/0.002741, allocations: 4 kB / 0.5224 GB, free: 476 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.002759, allocations: 11.98 kB / 0.5224 GB, free: 464 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.002783, allocations: 11.94 kB / 0.5224 GB, free: 452 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.418e-05/0.002858, allocations: 25.7 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.00286, allocations: 4 kB / 0.5224 GB, free: 424 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002861, allocations: 0 / 0.5224 GB, free: 424 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.002865, allocations: 0 / 0.5224 GB, free: 424 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003599/0.003225, allocations: 377.3 kB / 0.5228 GB, free: 8 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.00326, allocations: 8.031 kB / 0.5228 GB, free: 0 / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.003299, allocations: 10.34 kB / 0.5228 GB, free: 15.99 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.003401, allocations: 116.5 kB / 0.5229 GB, free: 15.85 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.003414, allocations: 4.375 kB / 0.5229 GB, free: 15.85 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.003422, allocations: 4.375 kB / 0.5229 GB, free: 15.84 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.003834, allocations: 68.12 kB / 0.523 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-06/0.003837, allocations: 192 / 0.523 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-06/0.003842, allocations: 384 / 0.523 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.003846, allocations: 10.31 kB / 0.523 GB, free: 15.76 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.664e-05/0.003873, allocations: 7.938 kB / 0.523 GB, free: 15.75 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.004053, allocations: 259.9 kB / 0.5232 GB, free: 15.46 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 4.433e-05/0.004097, allocations: 38.98 kB / 0.5233 GB, free: 15.41 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.004117, allocations: 17.69 kB / 0.5233 GB, free: 15.39 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.004127, allocations: 0 / 0.5233 GB, free: 15.39 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.004142, allocations: 33.39 kB / 0.5233 GB, free: 15.35 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=3): time 5.31e-07/0.004142, allocations: 0 / 0.5233 GB, free: 15.35 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3): time 9.927e-05/0.004241, allocations: 49.72 kB / 0.5234 GB, free: 15.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.004262, allocations: 55.41 kB / 0.5234 GB, free: 15.23 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.004329, allocations: 166.5 kB / 0.5236 GB, free: 15.05 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.004339, allocations: 26.7 kB / 0.5236 GB, free: 15.02 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.004383, allocations: 142.8 kB / 0.5237 GB, free: 14.88 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.0044, allocations: 11.83 kB / 0.5237 GB, free: 14.86 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.004426, allocations: 24.19 kB / 0.5238 GB, free: 14.83 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.004546, allocations: 492.1 kB / 0.5242 GB, free: 14.34 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.004563, allocations: 9.047 kB / 0.5242 GB, free: 14.33 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.004574, allocations: 0 / 0.5242 GB, free: 14.33 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/0.004605, allocations: 19.97 kB / 0.5243 GB, free: 14.31 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.004606, allocations: 1.031 kB / 0.5243 GB, free: 14.31 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.196e-05/0.004658, allocations: 57.62 kB / 0.5243 GB, free: 14.25 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.004669, allocations: 7.938 kB / 0.5243 GB, free: 14.24 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.004673, allocations: 1.531 kB / 0.5243 GB, free: 14.24 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.004684, allocations: 0 / 0.5243 GB, free: 14.24 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.004753, allocations: 15.92 kB / 0.5243 GB, free: 14.22 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.004756, allocations: 1.031 kB / 0.5243 GB, free: 14.22 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.004777, allocations: 4 kB / 0.5244 GB, free: 14.22 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.004783, allocations: 4 kB / 0.5244 GB, free: 14.21 MB / 0.4949 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 (3): * Single equations (assignments): 3 * 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 5.989e-05/0.004843, allocations: 153.3 kB / 0.5245 GB, free: 14.05 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.004857, allocations: 5.281 kB / 0.5245 GB, free: 14.05 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.004882, allocations: 15.92 kB / 0.5245 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-07/0.004883, allocations: 0 / 0.5245 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.004887, allocations: 0.8438 kB / 0.5245 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.00489, allocations: 0 / 0.5245 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.003e-05/0.00498, allocations: 120.6 kB / 0.5246 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.00498, allocations: 0.75 kB / 0.5246 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.005006, allocations: 15.09 kB / 0.5247 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.005006, allocations: 0 / 0.5247 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.005015, allocations: 3.984 kB / 0.5247 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.005017, allocations: 3.938 kB / 0.5247 GB, free: 13.86 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.005018, allocations: 0 / 0.5247 GB, free: 13.86 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.465e-05/0.005112, allocations: 199.8 kB / 0.5249 GB, free: 13.65 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-06/0.005117, allocations: 0 / 0.5249 GB, free: 13.65 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-06/0.005126, allocations: 0 / 0.5249 GB, free: 13.65 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/0.005163, allocations: 15.94 kB / 0.5249 GB, free: 13.63 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.005207, allocations: 7.016 kB / 0.5249 GB, free: 13.63 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.005209, allocations: 0 / 0.5249 GB, free: 13.63 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 3.899e-05/0.005248, allocations: 143.5 kB / 0.525 GB, free: 13.49 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5e-08/0.005248, allocations: 0 / 0.525 GB, free: 13.49 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0001379/0.005386, allocations: 4 kB / 0.525 GB, free: 13.48 MB / 0.4949 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 (3): * Single equations (assignments): 3 * 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 6.923e-05/0.005455, allocations: 91.25 kB / 0.5251 GB, free: 13.38 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 8.078e-05/0.005536, allocations: 25.17 kB / 0.5251 GB, free: 13.36 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.005537, allocations: 0 / 0.5251 GB, free: 13.36 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 2.287e-05/0.00556, allocations: 19.62 kB / 0.5251 GB, free: 13.33 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.005744, allocations: 8.5 kB / 0.5252 GB, free: 13.32 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.006003, allocations: 133 kB / 0.5253 GB, free: 13.17 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.006037, allocations: 55.36 kB / 0.5253 GB, free: 13.09 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.006055, allocations: 3.984 kB / 0.5253 GB, free: 13.09 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.006082, allocations: 16.5 kB / 0.5254 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of SimCode: time 4.61e-07/0.006083, allocations: 0 / 0.5254 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of Templates: time 0.002098/0.008181, allocations: 0.7821 MB / 0.5261 GB, free: 12.32 MB / 0.4949 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.77409314410761]