Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009524/0.0009524, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009774/0.0009774, allocations: 173 kB / 23.03 MB, free: 1.543 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.9259/0.9259, allocations: 177.1 MB / 203.4 MB, free: 5.621 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-545:108: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-545:116: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.7835/0.7835, allocations: 154.6 MB / 414.5 MB, free: 0.6562 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.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.5204 GB, free: 2.117 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.571e-05, allocations: 4.141 kB / 0.5204 GB, free: 2.113 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001237/0.001253, allocations: 0.6832 MB / 0.5211 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.002011, allocations: 0.9116 MB / 0.522 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.002044, allocations: 0 / 0.522 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.002081, allocations: 7.922 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.002144, allocations: 13.61 kB / 0.522 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.0023, allocations: 16.98 kB / 0.522 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.002383, allocations: 39.86 kB / 0.522 GB, free: 468 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.002467, allocations: 15.97 kB / 0.522 GB, free: 452 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.348e-05/0.00254, allocations: 20.58 kB / 0.5221 GB, free: 432 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.622e-05/0.002577, allocations: 19.91 kB / 0.5221 GB, free: 412 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.002598, allocations: 9.5 kB / 0.5221 GB, free: 404 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.002607, allocations: 4 kB / 0.5221 GB, free: 400 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.002622, allocations: 4 kB / 0.5221 GB, free: 396 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.002644, allocations: 11.94 kB / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.683e-05/0.002721, allocations: 40.38 kB / 0.5222 GB, free: 344 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002722, allocations: 1.031 kB / 0.5222 GB, free: 344 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.002723, allocations: 0 / 0.5222 GB, free: 344 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.002726, allocations: 0 / 0.5222 GB, free: 344 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.0003495/0.003076, allocations: 373.6 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.003108, allocations: 8.031 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.003146, allocations: 9.516 kB / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.761e-05/0.003223, allocations: 112.6 kB / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.003234, allocations: 4.875 kB / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.003243, allocations: 1.812 kB / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.003369, allocations: 66.94 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.003376, allocations: 4.125 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.003385, allocations: 6.172 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.003393, allocations: 384 / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.003426, allocations: 15.92 kB / 0.5227 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.003701, allocations: 271.8 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.222e-05/0.003773, allocations: 32.81 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.003799, allocations: 15.62 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.003815, allocations: 4.078 kB / 0.523 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.003837, allocations: 37.39 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.003838, allocations: 0 / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001403/0.003979, allocations: 50.38 kB / 0.5231 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.004006, allocations: 51.41 kB / 0.5232 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.522e-05/0.004071, allocations: 167.3 kB / 0.5233 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.004081, allocations: 29.7 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.004122, allocations: 134.8 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.004137, allocations: 5.297 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.004167, allocations: 23.38 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.004267, allocations: 0.4884 MB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.004283, allocations: 3.938 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.004296, allocations: 5.562 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.004326, allocations: 15.69 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.004328, allocations: 0 / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.627e-05/0.004384, allocations: 49.64 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.004396, allocations: 10.28 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.0044, allocations: 0 / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.004411, allocations: 4 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.004485, allocations: 11.98 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.00449, allocations: 4.25 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.27e-05/0.004513, allocations: 7.938 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.00452, allocations: 4.547 kB / 0.5241 GB, free: 14.14 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 5.281e-05/0.004573, allocations: 153.6 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.004587, allocations: 8 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.00461, allocations: 8.875 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.004612, allocations: 4 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.004615, allocations: 0 / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.004618, allocations: 3.25 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.004743, allocations: 120.6 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004744, allocations: 4 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.004777, allocations: 7.984 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.00478, allocations: 4 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.004788, allocations: 3.938 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.004791, allocations: 3.938 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.004791, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.004922, allocations: 203.2 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.004931, allocations: 8 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.004942, allocations: 0 / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.894e-05/0.00498, allocations: 15.92 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.005033, allocations: 4 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.005038, allocations: 3.984 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.005084, allocations: 131.2 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005084, allocations: 0 / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001423/0.005226, allocations: 9.5 kB / 0.5248 GB, free: 13.4 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 6.687e-05/0.005293, allocations: 91.25 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.437e-05/0.005378, allocations: 24.33 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005379, allocations: 0 / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.461e-05/0.005403, allocations: 20.25 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.005578, allocations: 8.484 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.005816, allocations: 132.6 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.288e-05/0.005849, allocations: 63.34 kB / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.681e-05/0.005865, allocations: 4 kB / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.005891, allocations: 10.94 kB / 0.5251 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.005891, allocations: 0 / 0.5251 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.002322/0.008214, allocations: 0.8389 MB / 0.5259 GB, free: 12.2 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6772318151779473]