Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.0008856/0.0008856, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001435/0.001435, allocations: 169 kB / 23.27 MB, free: 1.223 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.9214/0.9214, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.7511/0.7511, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.5208 GB, free: 1.863 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.578e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001397/0.001413, allocations: 0.6907 MB / 0.5215 GB, free: 1.191 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003815/0.005227, allocations: 0.8518 MB / 0.5223 GB, free: 336 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.005268, allocations: 4 kB / 0.5223 GB, free: 332 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.005293, allocations: 4.562 kB / 0.5223 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.118e-05/0.005354, allocations: 5.312 kB / 0.5223 GB, free: 324 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.645e-05/0.00541, allocations: 15.97 kB / 0.5224 GB, free: 308 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.005471, allocations: 43.86 kB / 0.5224 GB, free: 264 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.763e-05/0.005549, allocations: 12.55 kB / 0.5224 GB, free: 252 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.482e-05/0.005624, allocations: 23.92 kB / 0.5224 GB, free: 228 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.723e-05/0.005661, allocations: 12.52 kB / 0.5225 GB, free: 216 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.005676, allocations: 5.375 kB / 0.5225 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-06/0.005684, allocations: 4 kB / 0.5225 GB, free: 208 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.005701, allocations: 15.91 kB / 0.5225 GB, free: 192 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.005721, allocations: 8 kB / 0.5225 GB, free: 184 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.705e-05/0.005788, allocations: 32.59 kB / 0.5225 GB, free: 152 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.00579, allocations: 0 / 0.5225 GB, free: 152 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005791, allocations: 1.25 kB / 0.5225 GB, free: 152 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.005795, allocations: 4 kB / 0.5225 GB, free: 148 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.0003132/0.006108, allocations: 369.3 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.006143, allocations: 16.03 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.006167, allocations: 9.516 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.596e-05/0.006233, allocations: 116.5 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.006244, allocations: 9.156 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-06/0.00625, allocations: 384 / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.006355, allocations: 63.88 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.006361, allocations: 192 / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.006366, allocations: 7.031 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.006371, allocations: 384 / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/0.006392, allocations: 7.938 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.0066, allocations: 240.4 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.05e-05/0.00665, allocations: 34.98 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.006672, allocations: 19.75 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.553e-06/0.006679, allocations: 1.438 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.006697, allocations: 33.39 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.006698, allocations: 0 / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001164/0.006814, allocations: 53.78 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.006836, allocations: 51.97 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.922e-05/0.006905, allocations: 170.9 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.006915, allocations: 29.7 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.006955, allocations: 134.8 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.006969, allocations: 5.141 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.007001, allocations: 27.36 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.007106, allocations: 0.4884 MB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.007118, allocations: 0.5625 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.007129, allocations: 4 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.007155, allocations: 20.61 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.007156, allocations: 0 / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.645e-05/0.007213, allocations: 45.59 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.007223, allocations: 9.688 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.007226, allocations: 0 / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.007237, allocations: 3.938 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.084e-05/0.007297, allocations: 11.98 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.0073, allocations: 1.219 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.007327, allocations: 7.984 kB / 0.5244 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.007331, allocations: 0 / 0.5244 GB, free: 13.99 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.456e-05/0.007386, allocations: 157.3 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.007404, allocations: 1.188 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.007425, allocations: 12 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007427, allocations: 3.938 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.00743, allocations: 4.875 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.007432, allocations: 0 / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/0.01055, allocations: 104 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01055, allocations: 4 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.01059, allocations: 7.984 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01059, allocations: 4 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.01059, allocations: 4 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.01059, allocations: 0 / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01059, allocations: 0 / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.01077, allocations: 195.8 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.01078, allocations: 10.72 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-06/0.01079, allocations: 0 / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.01084, allocations: 4 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.01087, allocations: 11.92 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.01087, allocations: 0 / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.791e-05/0.01091, allocations: 135.5 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01091, allocations: 0 / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001915/0.0111, allocations: 5.344 kB / 0.5251 GB, free: 13.29 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.445e-05/0.01116, allocations: 91.25 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.981e-05/0.01122, allocations: 28.23 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.01122, allocations: 3.406 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.17e-05/0.01124, allocations: 15.69 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.01146, allocations: 7.938 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.01167, allocations: 138.6 kB / 0.5253 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.144e-05/0.0117, allocations: 55.36 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.978e-05/0.01172, allocations: 2.469 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.01177, allocations: 78.19 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.01177, allocations: 0 / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.005731/0.0175, allocations: 0.8085 MB / 0.5263 GB, free: 12.05 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4237170149572194]