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.001025/0.001025, 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.001156/0.001156, allocations: 169 kB / 23.02 MB, free: 1.551 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.035/1.035, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.8318/0.8318, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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.533e-06/1.533e-06, allocations: 0 / 0.5204 GB, free: 2.137 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.436e-05, allocations: 4.141 kB / 0.5204 GB, free: 2.133 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.00123/0.001254, allocations: 0.6858 MB / 0.5211 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000851/0.002105, allocations: 0.9178 MB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.002138, allocations: 0.8125 kB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.002168, allocations: 3.938 kB / 0.522 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.801e-05/0.002237, allocations: 0.9062 kB / 0.522 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.002399, allocations: 19.86 kB / 0.522 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.043e-05/0.00248, allocations: 52.84 kB / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.002578, allocations: 7.984 kB / 0.522 GB, free: 468 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.17e-05/0.002659, allocations: 27.92 kB / 0.5221 GB, free: 440 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.0027, allocations: 16.56 kB / 0.5221 GB, free: 424 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.002721, allocations: 5.75 kB / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.00273, allocations: 4 kB / 0.5221 GB, free: 416 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.002749, allocations: 7.938 kB / 0.5221 GB, free: 408 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.002771, allocations: 11.98 kB / 0.5221 GB, free: 396 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.007e-05/0.002851, allocations: 27.89 kB / 0.5221 GB, free: 368 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.002854, allocations: 4.5 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002855, allocations: 1.031 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.002859, allocations: 0 / 0.5221 GB, free: 364 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.0005065/0.003365, allocations: 381.3 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.003404, allocations: 12.03 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.00344, allocations: 9.516 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.955e-05/0.003519, allocations: 108.6 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.003531, allocations: 5.062 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.003542, allocations: 384 / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.00368, allocations: 72.16 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.00369, allocations: 192 / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.003699, allocations: 384 / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.003707, allocations: 2.188 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.276e-05/0.00374, allocations: 15.92 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.004029, allocations: 259.8 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.836e-05/0.004097, allocations: 35.06 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.004126, allocations: 17.52 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.004148, allocations: 0 / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.004169, allocations: 37.39 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.00417, allocations: 0 / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001637/0.004334, allocations: 54.31 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.00436, allocations: 51.41 kB / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.004433, allocations: 167.3 kB / 0.5233 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.004444, allocations: 29.7 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.004488, allocations: 134.8 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.004506, allocations: 11.89 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.004531, allocations: 20.72 kB / 0.5235 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.004636, allocations: 0.4884 MB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.004653, allocations: 4 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.004666, allocations: 4 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.0047, allocations: 25.66 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004702, allocations: 0 / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.542e-05/0.004758, allocations: 45.66 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.004769, allocations: 11.88 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.004772, allocations: 2.188 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.004787, allocations: 0 / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.004866, allocations: 11.98 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.004872, allocations: 4 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.004896, allocations: 7.984 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.004902, allocations: 0.8125 kB / 0.5241 GB, free: 14.16 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.703e-05/0.004959, allocations: 157.1 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.004974, allocations: 4 kB / 0.5242 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.005002, allocations: 12.94 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005004, allocations: 0 / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.005009, allocations: 4.594 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.005012, allocations: 0 / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.142e-05/0.005103, allocations: 121.9 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.005104, allocations: 3.938 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.877e-05/0.005133, allocations: 11.98 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005135, allocations: 1.031 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.00514, allocations: 4 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.005142, allocations: 3.938 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.005143, allocations: 1.031 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.561e-05/0.005238, allocations: 191.9 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.005245, allocations: 8 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.005254, allocations: 3.25 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.789e-05/0.005292, allocations: 11.92 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.005333, allocations: 7.984 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.005337, allocations: 4 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.615e-05/0.005373, allocations: 127.2 kB / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005373, allocations: 0 / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001351/0.005508, allocations: 8 kB / 0.5247 GB, free: 13.43 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.659e-05/0.005575, allocations: 106.2 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.264e-05/0.005657, allocations: 15.69 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005658, allocations: 0 / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.451e-05/0.005683, allocations: 19.67 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.00587, allocations: 8 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.006134, allocations: 135.6 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.006169, allocations: 63.28 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.799e-05/0.006187, allocations: 0.5 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.006218, allocations: 15.19 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.006219, allocations: 0 / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.002235/0.008453, allocations: 0.7941 MB / 0.5259 GB, free: 12.26 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.933552179019898]