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.001321/0.001321, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009929/0.0009929, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9809/0.9809, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.782/0.782, allocations: 154.6 MB / 415.6 MB, free: 0.5273 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.813e-06/1.813e-06, allocations: 0 / 0.5216 GB, free: 1.824 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.453e-05, allocations: 3.094 kB / 0.5216 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001366/0.00139, allocations: 0.6806 MB / 0.5223 GB, free: 1.164 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008278/0.002218, allocations: 0.9053 MB / 0.5232 GB, free: 252 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.002258, allocations: 4 kB / 0.5232 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.002287, allocations: 3.938 kB / 0.5232 GB, free: 244 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.791e-05/0.002365, allocations: 15.86 kB / 0.5232 GB, free: 228 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.002536, allocations: 15.92 kB / 0.5232 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.002611, allocations: 44.47 kB / 0.5232 GB, free: 168 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.0027, allocations: 4.562 kB / 0.5232 GB, free: 164 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.002782, allocations: 31.91 kB / 0.5233 GB, free: 132 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.002823, allocations: 20.78 kB / 0.5233 GB, free: 112 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.002841, allocations: 0 / 0.5233 GB, free: 112 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-06/0.002848, allocations: 4.531 kB / 0.5233 GB, free: 108 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.002869, allocations: 15.92 kB / 0.5233 GB, free: 92 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.002887, allocations: 9.469 kB / 0.5233 GB, free: 84 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.993e-05/0.002967, allocations: 27.84 kB / 0.5233 GB, free: 56 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002969, allocations: 0 / 0.5233 GB, free: 56 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00297, allocations: 0 / 0.5233 GB, free: 56 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.002974, allocations: 0.9375 kB / 0.5233 GB, free: 56 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.0003335/0.003307, allocations: 381.9 kB / 0.5237 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.00334, allocations: 8.031 kB / 0.5237 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.003366, allocations: 8.891 kB / 0.5237 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.511e-05/0.003441, allocations: 116.6 kB / 0.5238 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.003452, allocations: 5.516 kB / 0.5238 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.00346, allocations: 8.375 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.003562, allocations: 59.69 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.003568, allocations: 192 / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.003574, allocations: 384 / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.003578, allocations: 1.656 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.091e-05/0.003599, allocations: 15.88 kB / 0.5239 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.00381, allocations: 244.4 kB / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.043e-05/0.00386, allocations: 36.47 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.003878, allocations: 15.77 kB / 0.5242 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.003889, allocations: 0 / 0.5242 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.003909, allocations: 38.08 kB / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.00391, allocations: 0 / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000116/0.004026, allocations: 51.47 kB / 0.5243 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.004055, allocations: 55.41 kB / 0.5243 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.404e-05/0.004119, allocations: 169.9 kB / 0.5245 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.004127, allocations: 25.7 kB / 0.5245 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.004166, allocations: 130.8 kB / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.004182, allocations: 17.89 kB / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.004207, allocations: 19.36 kB / 0.5247 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.004311, allocations: 0.4884 MB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.004322, allocations: 3.938 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.054e-05/0.004333, allocations: 4 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.843e-05/0.004361, allocations: 25.08 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.004363, allocations: 0 / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.424e-05/0.004417, allocations: 41.66 kB / 0.5252 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.004428, allocations: 4 kB / 0.5252 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.004431, allocations: 1.25 kB / 0.5252 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-06/0.004439, allocations: 3.938 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.004501, allocations: 11.98 kB / 0.5253 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.004504, allocations: 4.625 kB / 0.5253 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.004527, allocations: 8.484 kB / 0.5253 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.004532, allocations: 1.031 kB / 0.5253 GB, free: 13.89 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.467e-05/0.004597, allocations: 160.5 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.004613, allocations: 5.219 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.004636, allocations: 4 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.004639, allocations: 3.938 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.004641, allocations: 0 / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.004644, allocations: 4.828 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.314e-05/0.004737, allocations: 107 kB / 0.5255 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004738, allocations: 0 / 0.5255 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.004768, allocations: 11.98 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.004771, allocations: 3.984 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.004776, allocations: 2.438 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.004776, allocations: 320 / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.004777, allocations: 4 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.817e-05/0.004875, allocations: 195.8 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-06/0.00488, allocations: 0 / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.004888, allocations: 0 / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.004926, allocations: 11.98 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.004956, allocations: 14.38 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.004959, allocations: 0 / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.004996, allocations: 135.2 kB / 0.5259 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004996, allocations: 4 kB / 0.5259 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001336/0.00513, allocations: 4 kB / 0.5259 GB, free: 13.18 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.132e-05/0.005211, allocations: 92.28 kB / 0.526 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.466e-05/0.005276, allocations: 19.67 kB / 0.526 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.005277, allocations: 3.938 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/0.0053, allocations: 20.61 kB / 0.526 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.005482, allocations: 24.98 kB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.005684, allocations: 130.1 kB / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.944e-05/0.005714, allocations: 59.34 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.716e-05/0.005731, allocations: 0 / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.005778, allocations: 76.95 kB / 0.5263 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.005779, allocations: 0 / 0.5263 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.002055/0.007833, allocations: 0.8759 MB / 0.5272 GB, free: 11.87 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.5255687311291695]