Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.001373/0.001373, allocations: 88.72 kB / 19.44 MB, free: 356 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.001588/0.001588, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.52/1.52, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.262/1.262, allocations: 154.8 MB / 414.3 MB, free: 456 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.635e-05/3.938e-05, allocations: 2.969 kB / 0.5199 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001814/0.001854, allocations: 0.5356 MB / 0.5204 GB, free: 1.766 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.801e-05/0.001902, allocations: 4.703 kB / 0.5204 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.001933, allocations: 0 / 0.5204 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.001963, allocations: 9.156 kB / 0.5204 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.36e-05/0.001997, allocations: 0 / 0.5204 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.986e-05/0.002037, allocations: 0 / 0.5204 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.884e-05/0.002105, allocations: 5.719 kB / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.00215, allocations: 0 / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.289e-05/0.002193, allocations: 5.812 kB / 0.5204 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.638e-05/0.002219, allocations: 224 / 0.5204 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.002237, allocations: 3.938 kB / 0.5204 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-06/0.002241, allocations: 0 / 0.5204 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.002255, allocations: 3.984 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.00228, allocations: 1.625 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.008e-05/0.00234, allocations: 0 / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.002342, allocations: 4 kB / 0.5204 GB, free: 1.734 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.002345, allocations: 3.984 kB / 0.5204 GB, free: 1.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.002349, allocations: 1.281 kB / 0.5204 GB, free: 1.73 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004018/0.002751, allocations: 234.5 kB / 0.5207 GB, free: 1.469 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.002793, allocations: 8.031 kB / 0.5207 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.002834, allocations: 0.9375 kB / 0.5207 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.002969, allocations: 106.4 kB / 0.5208 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.002983, allocations: 1.125 kB / 0.5208 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.002992, allocations: 384 / 0.5208 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.003107, allocations: 39.66 kB / 0.5208 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.003116, allocations: 192 / 0.5208 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.003124, allocations: 384 / 0.5208 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.003129, allocations: 384 / 0.5208 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.636e-05/0.003145, allocations: 5.188 kB / 0.5208 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.003532, allocations: 327.2 kB / 0.5211 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.003664, allocations: 173.1 kB / 0.5213 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.003716, allocations: 83.77 kB / 0.5214 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.003766, allocations: 79.28 kB / 0.5214 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.798e-05/0.003844, allocations: 109.8 kB / 0.5215 GB, free: 488 kB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.003845, allocations: 0 / 0.5215 GB, free: 488 kB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 8.471e-05/0.00393, allocations: 33.64 kB / 0.5216 GB, free: 448 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/0.004023, allocations: 126.7 kB / 0.5217 GB, free: 308 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.004131, allocations: 89.86 kB / 0.5218 GB, free: 208 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.004148, allocations: 25.7 kB / 0.5218 GB, free: 176 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.004202, allocations: 92.02 kB / 0.5219 GB, free: 80 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.004204, allocations: 0.5625 kB / 0.5219 GB, free: 80 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.004227, allocations: 10.22 kB / 0.5219 GB, free: 64 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.004421, allocations: 315.4 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-06/0.004427, allocations: 0 / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.004434, allocations: 8.953 kB / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.004477, allocations: 75.28 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.484e-05/0.004522, allocations: 76.75 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.501e-05/0.004577, allocations: 29.7 kB / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/0.004635, allocations: 79.28 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-05/0.004686, allocations: 83.16 kB / 0.5225 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/0.004789, allocations: 155.2 kB / 0.5227 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.321e-05/0.004833, allocations: 75.28 kB / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001112/0.004944, allocations: 155.3 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.914e-05/0.005043, allocations: 83.27 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.005089, allocations: 84.97 kB / 0.5231 GB, free: 14.85 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 (0): * Single equations (assignments): 0 * 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 0.0001762/0.005265, allocations: 256.4 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/0.005347, allocations: 105 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.793e-05/0.005425, allocations: 115.9 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/0.005527, allocations: 181 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001119/0.005639, allocations: 185.2 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001138/0.005753, allocations: 184.2 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.006055, allocations: 348.9 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.419e-05/0.006119, allocations: 106.3 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.646e-05/0.006195, allocations: 109 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.006297, allocations: 176.3 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.006421, allocations: 188.2 kB / 0.5249 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004023/0.006823, allocations: 182.4 kB / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001251/0.006948, allocations: 184.2 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.007153, allocations: 303.8 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.00722, allocations: 104.9 kB / 0.5257 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.007332, allocations: 180.3 kB / 0.5258 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.007433, allocations: 115.6 kB / 0.526 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.007556, allocations: 180.3 kB / 0.5261 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/0.007623, allocations: 108.9 kB / 0.5262 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.522e-05/0.007688, allocations: 83.22 kB / 0.5263 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.007688, allocations: 0 / 0.5263 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002585/0.007946, allocations: 3.953 kB / 0.5263 GB, free: 11.34 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 (0): * Single equations (assignments): 0 * 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 0.0001815/0.008128, allocations: 172 kB / 0.5265 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.728e-05/0.008175, allocations: 0 / 0.5265 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.008177, allocations: 0 / 0.5265 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.008178, allocations: 0.9375 kB / 0.5265 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.008675, allocations: 459.7 kB / 0.5269 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.008969, allocations: 155.9 kB / 0.5271 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.959e-05/0.009039, allocations: 55.36 kB / 0.5271 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.883e-06/0.009041, allocations: 3.938 kB / 0.5271 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.009062, allocations: 9.156 kB / 0.5271 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.009062, allocations: 0.8438 kB / 0.5271 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.002245/0.01131, allocations: 175.6 kB / 0.5273 GB, free: 10.28 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.032013138988987]