Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.00127/0.00127, allocations: 92.22 kB / 19.65 MB, free: 280 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.001222/0.001222, allocations: 165 kB / 23.02 MB, free: 1.555 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.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8054/0.8054, allocations: 154.8 MB / 414.7 MB, free: 0.5 MB / 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 179] 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5206 GB, free: 1.992 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.09e-05, allocations: 5.297 kB / 0.5206 GB, free: 1.988 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001161/0.001182, allocations: 0.5499 MB / 0.5211 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 7.349e-05/0.001256, allocations: 4 kB / 0.5211 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.001289, allocations: 0 / 0.5211 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.001324, allocations: 1 kB / 0.5211 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.001366, allocations: 0 / 0.5211 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.42e-05/0.001411, allocations: 1.406 kB / 0.5211 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.014e-05/0.001491, allocations: 0 / 0.5211 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.001544, allocations: 4.75 kB / 0.5211 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/0.001576, allocations: 1.703 kB / 0.5211 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.121e-05/0.001597, allocations: 0 / 0.5211 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.001618, allocations: 3.984 kB / 0.5211 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-06/0.001622, allocations: 2.328 kB / 0.5211 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.00164, allocations: 4 kB / 0.5211 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.001663, allocations: 0 / 0.5211 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.556e-05/0.001739, allocations: 8.422 kB / 0.5211 GB, free: 1.441 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.001741, allocations: 4.906 kB / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.001742, allocations: 0 / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.001746, allocations: 0 / 0.5211 GB, free: 1.438 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.0002704/0.002016, allocations: 342.5 kB / 0.5215 GB, free: 1.066 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.002057, allocations: 8.031 kB / 0.5215 GB, free: 1.059 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.002088, allocations: 0.9375 kB / 0.5215 GB, free: 1.059 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.207e-05/0.00217, allocations: 112.6 kB / 0.5216 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.002181, allocations: 4.359 kB / 0.5216 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.002191, allocations: 1.156 kB / 0.5216 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.658e-05/0.002267, allocations: 34.25 kB / 0.5216 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.002275, allocations: 0.9375 kB / 0.5216 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.002284, allocations: 384 / 0.5216 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.00229, allocations: 1.281 kB / 0.5216 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.044e-05/0.002301, allocations: 3.938 kB / 0.5216 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.002561, allocations: 475.6 kB / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.494e-05/0.002646, allocations: 265.5 kB / 0.5223 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/0.002695, allocations: 130.9 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.002723, allocations: 119.2 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.002765, allocations: 157.4 kB / 0.5227 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.002766, allocations: 0 / 0.5227 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.578e-05/0.002822, allocations: 34.36 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.002874, allocations: 170.6 kB / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.002957, allocations: 157.1 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.002966, allocations: 29.7 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.003011, allocations: 126.9 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.003014, allocations: 0 / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.003033, allocations: 15.38 kB / 0.5232 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.003149, allocations: 496.1 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-06/0.003155, allocations: 4 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-06/0.003158, allocations: 0.5 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.801e-05/0.003186, allocations: 119.2 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/0.003212, allocations: 120 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.661e-05/0.003249, allocations: 33.98 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.003286, allocations: 124 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.518e-05/0.003321, allocations: 127.1 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.632e-05/0.003398, allocations: 247.3 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.896e-05/0.003426, allocations: 123.1 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.559e-05/0.003482, allocations: 247.5 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.003536, allocations: 123.1 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.003562, allocations: 123.2 kB / 0.525 GB, free: 13.25 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.0001124/0.003674, allocations: 391.7 kB / 0.5254 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.003728, allocations: 161.7 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.003779, allocations: 151.8 kB / 0.5257 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.997e-05/0.003838, allocations: 268.1 kB / 0.526 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.464e-05/0.003903, allocations: 272.5 kB / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002409/0.004144, allocations: 265.1 kB / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.004322, allocations: 0.4921 MB / 0.527 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.721e-05/0.004359, allocations: 148.9 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.004394, allocations: 146.1 kB / 0.5272 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.197e-05/0.004466, allocations: 272 kB / 0.5275 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.491e-05/0.004531, allocations: 264.1 kB / 0.5278 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.257e-05/0.004594, allocations: 272.6 kB / 0.528 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.381e-05/0.004658, allocations: 273.7 kB / 0.5283 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.004794, allocations: 447.9 kB / 0.5287 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.004837, allocations: 144.9 kB / 0.5288 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.004912, allocations: 276 kB / 0.5291 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.004969, allocations: 152.8 kB / 0.5292 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.005041, allocations: 269 kB / 0.5295 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.005079, allocations: 149.2 kB / 0.5296 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.466e-05/0.005123, allocations: 120.1 kB / 0.5298 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005123, allocations: 0 / 0.5298 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001642/0.005288, allocations: 1.625 kB / 0.5298 GB, free: 8.215 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.0001112/0.005399, allocations: 214.4 kB / 0.53 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.357e-05/0.005442, allocations: 0 / 0.53 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.005444, allocations: 1.375 kB / 0.53 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-06/0.005447, allocations: 7.922 kB / 0.53 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.005744, allocations: 0.7062 MB / 0.5307 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/0.00594, allocations: 211.3 kB / 0.5309 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.116e-05/0.005971, allocations: 51.36 kB / 0.5309 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.074e-06/0.005973, allocations: 4 kB / 0.5309 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.129e-05/0.005985, allocations: 8.5 kB / 0.5309 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.005985, allocations: 3.938 kB / 0.5309 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of Templates: time 0.001406/0.007391, allocations: 163.1 kB / 0.5311 GB, free: 6.797 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.929998961277306]