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.001324/0.001324, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001433/0.001433, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.048/1.048, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.787/0.787, allocations: 154.9 MB / 415.1 MB, free: 252 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.653e-06/1.653e-06, allocations: 0 / 0.5212 GB, free: 1.41 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.388e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.406 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001403/0.001426, allocations: 0.6807 MB / 0.5219 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.002496, allocations: 0.91 MB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.416e-05/0.00255, allocations: 5.281 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.002583, allocations: 3.938 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.275e-05/0.002676, allocations: 7.875 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.002863, allocations: 25.25 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.761e-05/0.002951, allocations: 47.84 kB / 0.5228 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.003068, allocations: 4 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.003175, allocations: 24.75 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.003223, allocations: 11.98 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.003249, allocations: 4.844 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.00326, allocations: 7.938 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.003283, allocations: 14.77 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.003306, allocations: 7.984 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.406e-05/0.0034, allocations: 31.91 kB / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003402, allocations: 0 / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003403, allocations: 3.938 kB / 0.523 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.003408, allocations: 0 / 0.523 GB, free: 15.63 MB / 0.4948 GB 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.0004056/0.003814, allocations: 380.5 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.003865, allocations: 8.531 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.003899, allocations: 9.391 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.004003, allocations: 112.6 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.004013, allocations: 1.469 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.004024, allocations: 8.359 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.004159, allocations: 63.75 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.004168, allocations: 192 / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.004177, allocations: 1 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.004185, allocations: 384 / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.35e-05/0.004208, allocations: 12.72 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.00447, allocations: 248.4 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.504e-05/0.004525, allocations: 35.62 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.004544, allocations: 16.8 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.004563, allocations: 0 / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.004583, allocations: 34.36 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.004584, allocations: 0 / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001315/0.004716, allocations: 53.56 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.004744, allocations: 56.03 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.997e-05/0.004814, allocations: 167.2 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.004824, allocations: 25.7 kB / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.004872, allocations: 138.8 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.004891, allocations: 15.89 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.004923, allocations: 19.98 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.005036, allocations: 0.4899 MB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.005048, allocations: 0 / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.119e-05/0.005059, allocations: 4 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.005085, allocations: 19.61 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005086, allocations: 0 / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.324e-05/0.00514, allocations: 46.28 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.005151, allocations: 5.375 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.005155, allocations: 0 / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.005169, allocations: 3.938 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.005235, allocations: 11.98 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-06/0.005239, allocations: 4.75 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.005261, allocations: 8.484 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.005266, allocations: 0 / 0.5249 GB, free: 13.47 MB / 0.4948 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 6.263e-05/0.005329, allocations: 153.5 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.005343, allocations: 8 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.005368, allocations: 5.031 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.00537, allocations: 4.266 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.005371, allocations: 4.938 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.005375, allocations: 4 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.622e-05/0.005471, allocations: 101.2 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005472, allocations: 0.75 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.005498, allocations: 15.97 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.005499, allocations: 2.75 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.005504, allocations: 0 / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.005505, allocations: 4 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005506, allocations: 0 / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.716e-05/0.005603, allocations: 195.8 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.005609, allocations: 4 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-06/0.005617, allocations: 0 / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.377e-05/0.005651, allocations: 10.89 kB / 0.5254 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.005682, allocations: 7.938 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.005686, allocations: 4 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.116e-05/0.005727, allocations: 131.1 kB / 0.5255 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005727, allocations: 7.938 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001354/0.005862, allocations: 8 kB / 0.5255 GB, free: 12.77 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 (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 8.434e-05/0.005947, allocations: 92.72 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.93e-05/0.006016, allocations: 19.67 kB / 0.5256 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006018, allocations: 0 / 0.5256 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.028e-05/0.006038, allocations: 15.69 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.006229, allocations: 9.578 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.006457, allocations: 135.2 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.006496, allocations: 59.34 kB / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.006521, allocations: 4.656 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.006592, allocations: 74.86 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/0.006593, allocations: 0 / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.002808/0.009401, allocations: 0.8594 MB / 0.5268 GB, free: 11.48 MB / 0.4948 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.957696432713419]