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.0008488/0.0008488, 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.001027/0.001027, allocations: 173 kB / 23.5 MB, free: 1.051 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.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.8143/0.8143, allocations: 154.6 MB / 414.9 MB, free: 0.6758 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 2.425e-06/2.425e-06, allocations: 0 / 0.5204 GB, free: 2.453 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.058e-05, allocations: 6.312 kB / 0.5204 GB, free: 2.445 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001505/0.001536, allocations: 0.6937 MB / 0.5211 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009601/0.002496, allocations: 0.9093 MB / 0.522 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.002539, allocations: 1 kB / 0.522 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.002569, allocations: 3.938 kB / 0.522 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.139e-05/0.00264, allocations: 4.5 kB / 0.522 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.002828, allocations: 27.84 kB / 0.522 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.241e-05/0.00292, allocations: 44.78 kB / 0.522 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.003021, allocations: 8 kB / 0.5221 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.409e-05/0.003105, allocations: 25.56 kB / 0.5221 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.003147, allocations: 19.92 kB / 0.5221 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.00317, allocations: 4 kB / 0.5221 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.003178, allocations: 0 / 0.5221 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.003197, allocations: 12.95 kB / 0.5221 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.003221, allocations: 8 kB / 0.5221 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.873e-05/0.00331, allocations: 31.89 kB / 0.5222 GB, free: 0.668 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003312, allocations: 2.156 kB / 0.5222 GB, free: 0.668 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.003314, allocations: 0 / 0.5222 GB, free: 0.668 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.003319, allocations: 0 / 0.5222 GB, free: 0.668 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003527/0.003671, allocations: 376.5 kB / 0.5225 GB, free: 268 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.003711, allocations: 12.03 kB / 0.5225 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.003745, allocations: 5.641 kB / 0.5225 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.346e-05/0.003839, allocations: 120.5 kB / 0.5226 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.003849, allocations: 5.094 kB / 0.5226 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.003857, allocations: 4.375 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.003992, allocations: 63.78 kB / 0.5227 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.003997, allocations: 1.625 kB / 0.5227 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.004006, allocations: 4.375 kB / 0.5227 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.004012, allocations: 384 / 0.5227 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.253e-05/0.004044, allocations: 7.938 kB / 0.5227 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.004345, allocations: 260.6 kB / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.841e-05/0.004423, allocations: 38.98 kB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.004452, allocations: 20.47 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.004471, allocations: 0 / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.004494, allocations: 36.52 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.004495, allocations: 0 / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001696/0.004665, allocations: 61.59 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.004701, allocations: 51.41 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/0.004792, allocations: 165.9 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.004804, allocations: 25.7 kB / 0.5234 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.004859, allocations: 142.8 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.004882, allocations: 11.88 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.004912, allocations: 23.88 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.00504, allocations: 493 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.005058, allocations: 4 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.461e-05/0.005072, allocations: 3.984 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.005109, allocations: 20.69 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005111, allocations: 0.9688 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.843e-05/0.00518, allocations: 57.56 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.005195, allocations: 7.938 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.005199, allocations: 0.8125 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.005213, allocations: 0 / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.379e-05/0.005287, allocations: 8.844 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.005294, allocations: 3.984 kB / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.005317, allocations: 4.5 kB / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.005324, allocations: 5.031 kB / 0.5241 GB, free: 14.46 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.857e-05/0.005393, allocations: 152.6 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.005408, allocations: 5.219 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.00544, allocations: 15.92 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.005442, allocations: 0 / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.005446, allocations: 0.625 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.005449, allocations: 0 / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.005554, allocations: 122.2 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005555, allocations: 0 / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.005584, allocations: 8 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.005586, allocations: 0 / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.005595, allocations: 5.047 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.005598, allocations: 3.938 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005599, allocations: 4 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.005722, allocations: 196.7 kB / 0.5246 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-06/0.005728, allocations: 0 / 0.5246 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.005741, allocations: 11.44 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.005779, allocations: 11.88 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.005823, allocations: 3.984 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.005827, allocations: 0 / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.005876, allocations: 135.5 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005876, allocations: 0 / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001435/0.006019, allocations: 4 kB / 0.5248 GB, free: 13.74 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.304e-05/0.006102, allocations: 95.25 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.508e-05/0.006197, allocations: 26.55 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006199, allocations: 0 / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.567e-05/0.006225, allocations: 15.69 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.006427, allocations: 12 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.006729, allocations: 135.8 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.00677, allocations: 55.36 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.00679, allocations: 0 / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.006826, allocations: 21.89 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of SimCode: time 9.01e-07/0.006827, allocations: 0 / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.002502/0.009329, allocations: 0.7842 MB / 0.5259 GB, free: 12.58 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.752600522013381]