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.001752/0.001752, allocations: 88.83 kB / 19.44 MB, free: 352 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.002213/0.002213, allocations: 157.3 kB / 22.75 MB, free: 1.688 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.474/1.474, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.215/1.215, allocations: 154.8 MB / 414.4 MB, free: 452 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.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 3.887e-06/3.887e-06, allocations: 0 / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.007e-05/4.395e-05, allocations: 4.141 kB / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.003177/0.003221, allocations: 0.5392 MB / 0.5204 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 6.475e-05/0.003286, allocations: 3.938 kB / 0.5204 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.003323, allocations: 0 / 0.5204 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.003356, allocations: 0 / 0.5204 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.003393, allocations: 1.094 kB / 0.5204 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.287e-05/0.003436, allocations: 8 kB / 0.5204 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.198e-05/0.003508, allocations: 0.5 kB / 0.5204 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.452e-05/0.003572, allocations: 3.984 kB / 0.5204 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.003612, allocations: 5.438 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.732e-05/0.003639, allocations: 0 / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.003668, allocations: 1.438 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.451e-06/0.003673, allocations: 0 / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.003687, allocations: 3.938 kB / 0.5204 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.003715, allocations: 0.625 kB / 0.5204 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.228e-05/0.003788, allocations: 0 / 0.5204 GB, free: 1.734 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.003791, allocations: 1.812 kB / 0.5204 GB, free: 1.734 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.003792, allocations: 4 kB / 0.5204 GB, free: 1.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.003799, allocations: 0 / 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.0004666/0.004265, allocations: 238.5 kB / 0.5207 GB, free: 1.465 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.004324, allocations: 8.031 kB / 0.5207 GB, free: 1.457 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.004377, allocations: 2.562 kB / 0.5207 GB, free: 1.457 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.004568, allocations: 105.8 kB / 0.5208 GB, free: 1.328 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.004586, allocations: 4.312 kB / 0.5208 GB, free: 1.324 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.004596, allocations: 384 / 0.5208 GB, free: 1.324 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.004719, allocations: 31.55 kB / 0.5208 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.00473, allocations: 192 / 0.5208 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.004742, allocations: 4.375 kB / 0.5208 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.004748, allocations: 1 kB / 0.5208 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.783e-05/0.004776, allocations: 4.688 kB / 0.5208 GB, free: 1.281 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.005288, allocations: 327.2 kB / 0.5211 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.005495, allocations: 178.6 kB / 0.5213 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/0.005573, allocations: 80.14 kB / 0.5214 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-05/0.005642, allocations: 75.28 kB / 0.5214 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.005747, allocations: 105.8 kB / 0.5215 GB, free: 488 kB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.005749, allocations: 1.219 kB / 0.5215 GB, free: 488 kB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001328/0.005882, allocations: 37.58 kB / 0.5216 GB, free: 444 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.006008, allocations: 130.7 kB / 0.5217 GB, free: 300 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.006147, allocations: 97.48 kB / 0.5218 GB, free: 196 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.00617, allocations: 25.7 kB / 0.5218 GB, free: 164 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.006259, allocations: 88.12 kB / 0.5219 GB, free: 72 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-06/0.006262, allocations: 0 / 0.5219 GB, free: 72 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.0063, allocations: 13.66 kB / 0.5219 GB, free: 52 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000286/0.006586, allocations: 310.8 kB / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-06/0.006591, allocations: 0 / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-06/0.006594, allocations: 0 / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.02e-05/0.006655, allocations: 79.28 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.928e-05/0.006714, allocations: 75.84 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001044/0.006818, allocations: 29.69 kB / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.593e-05/0.006904, allocations: 87.78 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.736e-05/0.006982, allocations: 80.19 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.007136, allocations: 154.6 kB / 0.5227 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.007196, allocations: 83.22 kB / 0.5228 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001038/0.007299, allocations: 152 kB / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.007693, allocations: 79.22 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/0.007751, allocations: 83.27 kB / 0.5231 GB, free: 14.84 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.00022/0.007971, allocations: 260.9 kB / 0.5233 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.008085, allocations: 101.5 kB / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.008219, allocations: 123.9 kB / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/0.008323, allocations: 177.2 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001059/0.008429, allocations: 180.2 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001083/0.008537, allocations: 190.1 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.008818, allocations: 348.9 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.454e-05/0.008883, allocations: 108.9 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.008953, allocations: 101 kB / 0.5246 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.009062, allocations: 188.8 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.009178, allocations: 180.3 kB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001001/0.009278, allocations: 181.1 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000104/0.009382, allocations: 180.2 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.009593, allocations: 313.2 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.009655, allocations: 101 kB / 0.5257 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.009763, allocations: 176.3 kB / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.009861, allocations: 112.9 kB / 0.526 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.009974, allocations: 186.4 kB / 0.5261 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/0.01004, allocations: 108.9 kB / 0.5262 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.227e-05/0.01011, allocations: 79.28 kB / 0.5263 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01011, allocations: 0 / 0.5263 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002584/0.01037, 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.0001718/0.01054, allocations: 173.2 kB / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 3.889e-05/0.01058, allocations: 4 kB / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01058, allocations: 0 / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.01058, allocations: 0 / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.01105, allocations: 459.6 kB / 0.5269 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.01131, allocations: 162.5 kB / 0.5271 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.419e-05/0.01137, allocations: 55.36 kB / 0.5271 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.914e-06/0.01138, allocations: 0 / 0.5271 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.0114, allocations: 8.5 kB / 0.5271 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.0114, allocations: 0.9375 kB / 0.5271 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.002077/0.01348, allocations: 158.5 kB / 0.5273 GB, free: 10.28 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.879409721004777]