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.0009313/0.0009313, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001029/0.001029, allocations: 177 kB / 23.36 MB, free: 1.133 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.9487/0.9487, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.7993/0.7993, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.453e-06/1.453e-06, allocations: 0.7656 kB / 480.1 MB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.86e-05, allocations: 6.109 kB / 480.1 MB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001204/0.001222, allocations: 0.6974 MB / 480.8 MB, free: 6.129 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008234/0.002046, allocations: 0.9162 MB / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.002078, allocations: 0.625 kB / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.002103, allocations: 0 / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.626e-05/0.002169, allocations: 16.62 kB / 481.7 MB, free: 5.191 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.002302, allocations: 15.92 kB / 481.7 MB, free: 5.176 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.396e-05/0.002376, allocations: 51.25 kB / 481.8 MB, free: 5.133 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.822e-05/0.002444, allocations: 4.641 kB / 481.8 MB, free: 5.129 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.002532, allocations: 30.05 kB / 481.8 MB, free: 5.102 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.679e-05/0.002569, allocations: 19.42 kB / 481.8 MB, free: 5.086 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.002589, allocations: 4 kB / 481.8 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.002597, allocations: 4 kB / 481.8 MB, free: 5.078 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.002618, allocations: 10.58 kB / 481.8 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.002641, allocations: 9.75 kB / 481.8 MB, free: 5.062 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.762e-05/0.002718, allocations: 25.81 kB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.002721, allocations: 3.984 kB / 481.9 MB, free: 5.035 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002722, allocations: 6.094 kB / 481.9 MB, free: 5.031 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.002725, allocations: 0.6562 kB / 481.9 MB, free: 5.031 MB / 442.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.0003099/0.003035, allocations: 252 kB / 482.1 MB, free: 4.762 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.003068, allocations: 8.031 kB / 482.1 MB, free: 4.754 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.003096, allocations: 4.938 kB / 482.1 MB, free: 4.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.003178, allocations: 114.6 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.003188, allocations: 384 / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.0032, allocations: 3.547 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.003322, allocations: 70.88 kB / 482.3 MB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.003329, allocations: 1.094 kB / 482.3 MB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.003335, allocations: 384 / 482.3 MB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.003341, allocations: 384 / 482.3 MB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/0.003366, allocations: 12.55 kB / 482.3 MB, free: 4.523 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.003569, allocations: 157.6 kB / 482.5 MB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.154e-05/0.00362, allocations: 32.06 kB / 482.5 MB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.003635, allocations: 8.859 kB / 482.5 MB, free: 4.305 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.003646, allocations: 0.6875 kB / 482.5 MB, free: 4.305 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.003666, allocations: 35.19 kB / 482.6 MB, free: 4.262 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 6.31e-07/0.003666, allocations: 0 / 482.6 MB, free: 4.262 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 9.727e-05/0.003764, allocations: 47.72 kB / 482.6 MB, free: 4.211 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.003794, allocations: 51.41 kB / 482.7 MB, free: 4.148 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.485e-05/0.003849, allocations: 119.2 kB / 482.8 MB, free: 4.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.003858, allocations: 26.42 kB / 482.8 MB, free: 3.988 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.003885, allocations: 88.08 kB / 482.9 MB, free: 3.898 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.003904, allocations: 17.67 kB / 482.9 MB, free: 3.883 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.003925, allocations: 14.47 kB / 482.9 MB, free: 3.863 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.003993, allocations: 322.8 kB / 483.2 MB, free: 3.539 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-06/0.004001, allocations: 0 / 483.2 MB, free: 3.539 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-06/0.00401, allocations: 4 kB / 483.2 MB, free: 3.535 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.004034, allocations: 18.64 kB / 483.3 MB, free: 3.516 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004036, allocations: 0 / 483.3 MB, free: 3.516 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.901e-05/0.004075, allocations: 34.58 kB / 483.3 MB, free: 3.477 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.004086, allocations: 8.75 kB / 483.3 MB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.004089, allocations: 0.625 kB / 483.3 MB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.0041, allocations: 11.88 kB / 483.3 MB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.004157, allocations: 4.625 kB / 483.3 MB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.00416, allocations: 4.688 kB / 483.3 MB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.004181, allocations: 9.203 kB / 483.3 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.004186, allocations: 0 / 483.3 MB, free: 3.441 MB / 442.7 MB 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 4.866e-05/0.004235, allocations: 110.7 kB / 483.4 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.004247, allocations: 5.062 kB / 483.4 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.004269, allocations: 5.547 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.004271, allocations: 3.938 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.004273, allocations: 5.141 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.004276, allocations: 4 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.454e-05/0.004351, allocations: 69.89 kB / 483.5 MB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.004351, allocations: 1.75 kB / 483.5 MB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.004377, allocations: 15.92 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.004378, allocations: 0 / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-06/0.004382, allocations: 4 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004382, allocations: 1.188 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004383, allocations: 0 / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.988e-05/0.004452, allocations: 139.4 kB / 483.7 MB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-06/0.00446, allocations: 7.938 kB / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-06/0.004467, allocations: 0.8438 kB / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.004502, allocations: 5.156 kB / 483.7 MB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.004532, allocations: 15.92 kB / 483.7 MB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.004535, allocations: 3.938 kB / 483.7 MB, free: 3.016 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.24e-05/0.004547, allocations: 16.84 kB / 483.7 MB, free: 2.996 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004547, allocations: 0.9062 kB / 483.7 MB, free: 2.996 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001108/0.004658, allocations: 4 kB / 483.7 MB, free: 2.992 MB / 442.7 MB 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.543e-05/0.004723, allocations: 78.44 kB / 483.8 MB, free: 2.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.163e-05/0.004775, allocations: 12.86 kB / 483.8 MB, free: 2.895 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.004778, allocations: 11.94 kB / 483.8 MB, free: 2.883 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.004796, allocations: 13.59 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.004921, allocations: 13.16 kB / 483.9 MB, free: 2.855 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001942/0.005116, allocations: 122.5 kB / 484 MB, free: 2.711 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3e-05/0.005146, allocations: 60.31 kB / 484.1 MB, free: 2.633 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.621e-05/0.005162, allocations: 4.531 kB / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.005206, allocations: 52.38 kB / 484.1 MB, free: 2.578 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/0.005206, allocations: 0 / 484.1 MB, free: 2.578 MB / 442.7 MB Notification: Performance of Templates: time 0.001916/0.007122, allocations: 0.727 MB / 484.8 MB, free: 1.895 MB / 442.7 MB " [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.6120661492459476]