Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.001353/0.001353, 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.001511/0.001511, 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.498/1.498, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.228/1.228, allocations: 154.8 MB / 414.3 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.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.584e-06/2.584e-06, allocations: 0 / 0.5198 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.816e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001682/0.00171, allocations: 0.6188 MB / 0.5205 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.003386, allocations: 1.139 MB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.003432, allocations: 3.938 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.003533, allocations: 3.938 kB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.003638, allocations: 12.42 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.004035, allocations: 121.4 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.004305, allocations: 183.6 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.004406, allocations: 15.97 kB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.004559, allocations: 109.6 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.004738, allocations: 67.92 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.00478, allocations: 16 kB / 0.5221 GB, free: 4 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.004886, allocations: 36.06 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.00494, allocations: 19.92 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.00505, allocations: 61.34 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.005372, allocations: 235.3 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005374, allocations: 0 / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.72e-07/0.005375, allocations: 0 / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.005381, allocations: 4.75 kB / 0.5224 GB, free: 15.66 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006263/0.006007, allocations: 377.5 kB / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.006045, allocations: 9.5 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.481e-05/0.00613, allocations: 20.88 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.006396, allocations: 157.6 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.006421, allocations: 17.7 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.006457, allocations: 8.375 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.006673, allocations: 103.9 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.006684, allocations: 4.125 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.006695, allocations: 1.031 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.006699, allocations: 384 / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.006779, allocations: 47.16 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.007367, allocations: 404.6 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.00747, allocations: 65.12 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.00752, allocations: 29.7 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.007532, allocations: 4 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.007716, allocations: 113 kB / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.007716, allocations: 0 / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0003281/0.008044, allocations: 138.1 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.008111, allocations: 81.73 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.008242, allocations: 133.8 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.008287, allocations: 38.45 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.008376, allocations: 100 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.008399, allocations: 17.41 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.008523, allocations: 53.69 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.008688, allocations: 314.8 kB / 0.5246 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.008968, allocations: 191.3 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.009263, allocations: 225.4 kB / 0.5249 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.009586, allocations: 230 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.009588, allocations: 1.312 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007236/0.01031, allocations: 468 kB / 0.5256 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.577e-05/0.01038, allocations: 70.86 kB / 0.5257 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01038, allocations: 0 / 0.5257 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.01041, allocations: 5.281 kB / 0.5257 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.792e-05/0.01042, allocations: 3.938 kB / 0.5257 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.01043, allocations: 4 kB / 0.5257 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.01082, allocations: 71.92 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.01086, allocations: 19.98 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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 0.0001398/0.011, allocations: 133.8 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.01102, allocations: 8 kB / 0.5259 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.01105, allocations: 12 kB / 0.5259 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.01105, allocations: 0 / 0.5259 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01105, allocations: 3.938 kB / 0.5259 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01105, allocations: 2.75 kB / 0.5259 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.0112, allocations: 133.2 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.0112, allocations: 4 kB / 0.5261 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-06/0.01121, allocations: 3.984 kB / 0.5261 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.01122, allocations: 0 / 0.5261 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.01122, allocations: 4 kB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01123, allocations: 0 / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01123, allocations: 4.812 kB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.01144, allocations: 137.9 kB / 0.5262 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.01145, allocations: 8.922 kB / 0.5262 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.01147, allocations: 0 / 0.5262 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/0.01149, allocations: 3.938 kB / 0.5262 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.01152, allocations: 8.891 kB / 0.5262 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.01153, allocations: 8 kB / 0.5262 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.377e-05/0.01161, allocations: 95.27 kB / 0.5263 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01161, allocations: 0.5312 kB / 0.5263 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002621/0.01187, allocations: 45.39 kB / 0.5264 GB, free: 11.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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 0.0001559/0.01203, allocations: 97.98 kB / 0.5265 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005351/0.01256, allocations: 368.4 kB / 0.5268 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01256, allocations: 0 / 0.5268 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.518e-05/0.01263, allocations: 35.91 kB / 0.5269 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.01288, allocations: 22.7 kB / 0.5269 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.01331, allocations: 213.5 kB / 0.5271 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.786e-05/0.0134, allocations: 83.31 kB / 0.5272 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.361e-05/0.01342, allocations: 4 kB / 0.5272 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.01345, allocations: 17.28 kB / 0.5272 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.01345, allocations: 0 / 0.5272 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.005759/0.01921, allocations: 2.464 MB / 0.5296 GB, free: 7.98 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.760092388023622]