Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001115/0.001115, allocations: 80.45 kB / 19.9 MB, free: 12 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.001408/0.001408, allocations: 165.9 kB / 23.18 MB, free: 1.383 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 0.918/0.918, allocations: 177.2 MB / 203.6 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7414/0.7414, allocations: 154.7 MB / 414.7 MB, free: 0.7578 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009675/0.0009675, allocations: 63.91 kB / 0.6195 GB, free: 13.14 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4844/0.4854, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001541/0.4869, allocations: 0.6025 MB / 0.7197 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.4882, allocations: 1.141 MB / 0.7208 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.4883, allocations: 5.031 kB / 0.7208 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.4884, allocations: 1.453 kB / 0.7208 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.4886, allocations: 7.578 kB / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.489, allocations: 132.8 kB / 0.7209 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.4893, allocations: 192.3 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.4894, allocations: 12.08 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.4896, allocations: 109.1 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.4898, allocations: 80.02 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.4898, allocations: 15.81 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.652e-05/0.4899, allocations: 23.55 kB / 0.7214 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.49, allocations: 28.67 kB / 0.7214 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.879e-05/0.4901, allocations: 61.91 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.4904, allocations: 201.4 kB / 0.7216 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4904, allocations: 1.766 kB / 0.7216 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4904, allocations: 0 / 0.7216 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.4904, allocations: 4 kB / 0.7216 GB, free: 22.1 MB / 0.6355 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.0005723/0.491, allocations: 388.6 kB / 0.722 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.491, allocations: 10.11 kB / 0.722 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.191e-05/0.4911, allocations: 16.84 kB / 0.722 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.4913, allocations: 155 kB / 0.7222 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.4913, allocations: 9.5 kB / 0.7222 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.4914, allocations: 11.05 kB / 0.7222 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.4916, allocations: 102.5 kB / 0.7223 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4916, allocations: 1.281 kB / 0.7223 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.4916, allocations: 4.688 kB / 0.7223 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.4916, allocations: 9.188 kB / 0.7223 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.354e-05/0.4917, allocations: 40.25 kB / 0.7224 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.4922, allocations: 418.2 kB / 0.7228 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.856e-05/0.4923, allocations: 55.16 kB / 0.7228 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.4923, allocations: 27.88 kB / 0.7228 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.4923, allocations: 1.062 kB / 0.7228 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.4926, allocations: 116.7 kB / 0.7229 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.355e-06/0.4926, allocations: 0 / 0.7229 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003322/0.4929, allocations: 134.8 kB / 0.7231 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.4929, allocations: 84.34 kB / 0.7232 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.493, allocations: 132.2 kB / 0.7233 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.4931, allocations: 31.23 kB / 0.7233 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.4931, allocations: 101.4 kB / 0.7234 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.4931, allocations: 15.66 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/0.4932, allocations: 51.91 kB / 0.7235 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.4933, allocations: 324.6 kB / 0.7238 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.4935, allocations: 187.8 kB / 0.724 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.4937, allocations: 230.9 kB / 0.7242 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.4939, allocations: 220.4 kB / 0.7244 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4939, allocations: 1.125 kB / 0.7244 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005302/0.4945, allocations: 452.8 kB / 0.7248 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.4945, allocations: 71.75 kB / 0.7249 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4945, allocations: 5.5 kB / 0.7249 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.4946, allocations: 1.75 kB / 0.7249 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.793e-05/0.4946, allocations: 11.88 kB / 0.7249 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.4946, allocations: 1.125 kB / 0.7249 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.4949, allocations: 63.34 kB / 0.725 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.4949, allocations: 19.78 kB / 0.725 GB, free: 19.55 MB / 0.6355 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.0001036/0.495, allocations: 140.7 kB / 0.7251 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.495, allocations: 7.641 kB / 0.7251 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.4951, allocations: 19.41 kB / 0.7252 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.4951, allocations: 1.688 kB / 0.7252 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4951, allocations: 1.469 kB / 0.7252 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4951, allocations: 0.9375 kB / 0.7252 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.4952, allocations: 131.5 kB / 0.7253 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4952, allocations: 1.625 kB / 0.7253 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.036e-05/0.4952, allocations: 1.859 kB / 0.7253 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4952, allocations: 0.5625 kB / 0.7253 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.4952, allocations: 3.156 kB / 0.7253 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4952, allocations: 0 / 0.7253 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4952, allocations: 1.703 kB / 0.7253 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.4954, allocations: 143.1 kB / 0.7254 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.4954, allocations: 6.172 kB / 0.7254 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.4954, allocations: 2.688 kB / 0.7254 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.4954, allocations: 1.75 kB / 0.7254 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.4955, allocations: 8.734 kB / 0.7254 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.4955, allocations: 7.828 kB / 0.7255 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.4955, allocations: 97.77 kB / 0.7255 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4955, allocations: 0 / 0.7255 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002074/0.4957, allocations: 32.23 kB / 0.7256 GB, free: 19.07 MB / 0.6355 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.0001646/0.4959, allocations: 117.4 kB / 0.7257 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004538/0.4964, allocations: 364.9 kB / 0.726 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4964, allocations: 1.344 kB / 0.726 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.303e-05/0.4964, allocations: 36.19 kB / 0.7261 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.4967, allocations: 16.95 kB / 0.7261 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.4971, allocations: 217.1 kB / 0.7263 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.115e-05/0.4972, allocations: 90.48 kB / 0.7264 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.4972, allocations: 10.22 kB / 0.7264 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.4972, allocations: 17.16 kB / 0.7264 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.4972, allocations: 0 / 0.7264 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of Templates: time 0.005864/0.5031, allocations: 2.469 MB / 0.7288 GB, free: 18.21 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.442932429956272] Failed to read output from testmodel.py, exit status != 0: 0.5095559429610148 0.5238845879999999 0.030769816000000002 Calling exit ...