Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.001056/0.001056, allocations: 73.97 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.001181/0.001181, allocations: 169 kB / 24.06 MB, free: 456 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 1.033/1.033, allocations: 177.2 MB / 204.5 MB, free: 5.488 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.8009/0.8009, allocations: 154.9 MB / 415.9 MB, free: 260 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 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.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5219 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.515e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001088/0.001103, allocations: 0.6448 MB / 0.5225 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.00222, allocations: 1.23 MB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.002262, allocations: 3.938 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.002286, allocations: 5.359 kB / 0.5237 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.822e-05/0.002355, allocations: 15.86 kB / 0.5238 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.002796, allocations: 212.7 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.002968, allocations: 164.9 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.95e-05/0.003038, allocations: 15.92 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.003139, allocations: 87.94 kB / 0.5242 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.003236, allocations: 52.78 kB / 0.5243 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.003261, allocations: 16 kB / 0.5243 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.104e-05/0.003322, allocations: 29.05 kB / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.003343, allocations: 11.97 kB / 0.5243 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.003393, allocations: 51.91 kB / 0.5244 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.003548, allocations: 136.3 kB / 0.5245 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00355, allocations: 0 / 0.5245 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003551, allocations: 0.7188 kB / 0.5245 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.916e-06/0.003554, allocations: 0 / 0.5245 GB, free: 14.88 MB / 0.4948 GB 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.0003727/0.003927, allocations: 464.6 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.003957, allocations: 8.031 kB / 0.5249 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.003998, allocations: 17.83 kB / 0.525 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.994e-05/0.004068, allocations: 112.6 kB / 0.5251 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.004084, allocations: 15.05 kB / 0.5251 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.004102, allocations: 12.38 kB / 0.5251 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.855e-05/0.004161, allocations: 46.19 kB / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004167, allocations: 192 / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.004173, allocations: 384 / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.004178, allocations: 384 / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.562e-05/0.004193, allocations: 11.92 kB / 0.5252 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.004469, allocations: 312.3 kB / 0.5255 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.004521, allocations: 36.25 kB / 0.5255 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.004535, allocations: 15.77 kB / 0.5255 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-06/0.004539, allocations: 0.5625 kB / 0.5255 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.36e-05/0.004623, allocations: 77.55 kB / 0.5256 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.004624, allocations: 0 / 0.5256 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001542/0.004778, allocations: 102.5 kB / 0.5257 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.004807, allocations: 51.41 kB / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.568e-05/0.004883, allocations: 183.1 kB / 0.5259 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.004904, allocations: 33.7 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.004955, allocations: 138.9 kB / 0.5261 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.004967, allocations: 15.89 kB / 0.5261 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/0.005029, allocations: 55.89 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.005132, allocations: 497.1 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.807e-05/0.00521, allocations: 103.4 kB / 0.5267 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.47e-05/0.005305, allocations: 156.3 kB / 0.5269 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.005406, allocations: 159.6 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005408, allocations: 0 / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002637/0.005671, allocations: 302.1 kB / 0.5273 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.00571, allocations: 71.33 kB / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.005715, allocations: 0 / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.005726, allocations: 5.188 kB / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.437e-05/0.00574, allocations: 64 / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.005745, allocations: 8 kB / 0.5274 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.005901, allocations: 39.77 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.005922, allocations: 15.98 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.081e-05/0.006003, allocations: 172.5 kB / 0.5276 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.006014, allocations: 7.953 kB / 0.5276 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.063e-05/0.006034, allocations: 12.38 kB / 0.5276 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006036, allocations: 0 / 0.5276 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.006039, allocations: 0 / 0.5276 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.006043, allocations: 6.531 kB / 0.5276 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.612e-05/0.006129, allocations: 109.2 kB / 0.5277 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006131, allocations: 0 / 0.5277 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-06/0.006137, allocations: 7.984 kB / 0.5277 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.006139, allocations: 0 / 0.5277 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.006145, allocations: 4 kB / 0.5277 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006146, allocations: 0 / 0.5277 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.006149, allocations: 4.438 kB / 0.5277 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.006249, allocations: 117.5 kB / 0.5279 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.006257, allocations: 7.953 kB / 0.5279 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.006268, allocations: 4 kB / 0.5279 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.004e-05/0.006278, allocations: 0.6562 kB / 0.5279 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.006305, allocations: 11.92 kB / 0.5279 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.006308, allocations: 3.438 kB / 0.5279 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.006346, allocations: 131.2 kB / 0.528 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006346, allocations: 0 / 0.528 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001622/0.006508, allocations: 32 kB / 0.528 GB, free: 10.9 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.133e-05/0.006599, allocations: 103 kB / 0.5281 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004698/0.007069, allocations: 270.1 kB / 0.5284 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007071, allocations: 2.625 kB / 0.5284 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.822e-05/0.007099, allocations: 31.59 kB / 0.5284 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.007246, allocations: 15.98 kB / 0.5284 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002146/0.007461, allocations: 162.7 kB / 0.5286 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.836e-05/0.007489, allocations: 60.05 kB / 0.5286 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.007509, allocations: 9.328 kB / 0.5287 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.007617, allocations: 98.17 kB / 0.5288 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.007618, allocations: 0 / 0.5288 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of Templates: time 0.003466/0.01108, allocations: 2.276 MB / 0.531 GB, free: 7.918 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7554933219216764]