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.001172/0.001172, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001224/0.001224, allocations: 173 kB / 23.49 MB, free: 1.059 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.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.8138/0.8138, allocations: 154.8 MB / 415.1 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.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 3.056e-06/3.056e-06, allocations: 0 / 0.5206 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.387e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001496/0.00153, allocations: 0.6308 MB / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.002793, allocations: 1.174 MB / 0.5223 GB, free: 488 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.002858, allocations: 0 / 0.5223 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.002973, allocations: 0 / 0.5223 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.003072, allocations: 11.94 kB / 0.5223 GB, free: 476 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.003484, allocations: 127.5 kB / 0.5225 GB, free: 348 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.00371, allocations: 180.2 kB / 0.5226 GB, free: 168 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.003832, allocations: 12.73 kB / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.003948, allocations: 107.9 kB / 0.5227 GB, free: 48 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.004118, allocations: 80.83 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.004151, allocations: 16 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-05/0.004221, allocations: 24.97 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.004278, allocations: 23.91 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.958e-05/0.004368, allocations: 60.86 kB / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.00459, allocations: 175.5 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004592, allocations: 0 / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.004594, allocations: 0.6562 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.004599, allocations: 0 / 0.5231 GB, free: 15.68 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.0005122/0.005111, allocations: 484.7 kB / 0.5236 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.005154, allocations: 8.031 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/0.005224, allocations: 22.64 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.005422, allocations: 156.5 kB / 0.5238 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.005436, allocations: 8.312 kB / 0.5238 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.005461, allocations: 16.38 kB / 0.5238 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.005589, allocations: 73.61 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.005596, allocations: 0.6875 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.005609, allocations: 5.391 kB / 0.5239 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.005617, allocations: 384 / 0.5239 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.113e-05/0.005649, allocations: 19.88 kB / 0.5239 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.006064, allocations: 0.4996 MB / 0.5244 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.48e-05/0.006129, allocations: 58.12 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.006149, allocations: 16 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.006155, allocations: 4.062 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.006285, allocations: 113.9 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.006287, allocations: 0 / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002358/0.006523, allocations: 97.55 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.006577, allocations: 82.05 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.006691, allocations: 193.9 kB / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.006715, allocations: 33.7 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.006789, allocations: 151.8 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.006804, allocations: 7.938 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.006881, allocations: 64.5 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.007009, allocations: 0.4923 MB / 0.5256 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.007144, allocations: 111.4 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.007279, allocations: 174.3 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.00743, allocations: 183.1 kB / 0.5261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.007432, allocations: 0 / 0.5261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003338/0.007766, allocations: 321.4 kB / 0.5264 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.007809, allocations: 64.23 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.007815, allocations: 0 / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.007831, allocations: 6.969 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.811e-05/0.007849, allocations: 0 / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.007856, allocations: 7.938 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.008053, allocations: 47.89 kB / 0.5265 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.008076, allocations: 19.98 kB / 0.5265 GB, free: 11.81 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.0001025/0.008178, allocations: 173.5 kB / 0.5267 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.008193, allocations: 7.953 kB / 0.5267 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.008221, allocations: 11.98 kB / 0.5267 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008224, allocations: 1.562 kB / 0.5267 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.008227, allocations: 3.938 kB / 0.5267 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.00823, allocations: 0 / 0.5267 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.008331, allocations: 144.6 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.008334, allocations: 5.281 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-06/0.008341, allocations: 3.984 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.008343, allocations: 0 / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.008351, allocations: 6.75 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.008353, allocations: 3.938 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.008354, allocations: 0 / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.008483, allocations: 120 kB / 0.527 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-06/0.008492, allocations: 7.953 kB / 0.527 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.008504, allocations: 4 kB / 0.527 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.214e-05/0.008516, allocations: 0 / 0.527 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.008547, allocations: 7.984 kB / 0.527 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.008552, allocations: 2.375 kB / 0.527 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.078e-05/0.008603, allocations: 141.2 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008603, allocations: 0 / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001787/0.008781, allocations: 39.95 kB / 0.5272 GB, free: 11.08 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.0001355/0.008917, allocations: 103.9 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.009202, allocations: 282.8 kB / 0.5275 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.009204, allocations: 0 / 0.5275 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.454e-05/0.009239, allocations: 28.55 kB / 0.5276 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.009425, allocations: 20.02 kB / 0.5276 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.009758, allocations: 206 kB / 0.5278 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.851e-05/0.009797, allocations: 71.34 kB / 0.5279 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.493e-05/0.009822, allocations: 4.188 kB / 0.5279 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.009841, allocations: 12.5 kB / 0.5279 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.009841, allocations: 0 / 0.5279 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.004055/0.0139, allocations: 2.456 MB / 0.5303 GB, free: 7.934 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.90659948810935]