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.0007862/0.0007862, allocations: 72.45 kB / 19.9 MB, free: 16 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.0008843/0.0008843, 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.9152/0.9152, allocations: 177.2 MB / 203.6 MB, free: 5.781 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-531:190: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-531:198: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.7267/0.7267, allocations: 155 MB / 415 MB, free: 476 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.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: 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.001311/0.001311, allocations: 59.91 kB / 0.6199 GB, free: 12.76 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4812, allocations: 102 MB / 0.7195 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001422/0.4826, allocations: 0.6116 MB / 0.7201 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.4838, allocations: 1.14 MB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.4839, allocations: 1.781 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.484, allocations: 13.16 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.4841, allocations: 6.719 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.4845, allocations: 125 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.4848, allocations: 186.3 kB / 0.7215 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.4849, allocations: 7.328 kB / 0.7215 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.485, allocations: 109 kB / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.4852, allocations: 88.86 kB / 0.7217 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.4852, allocations: 15.09 kB / 0.7217 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.292e-05/0.4853, allocations: 27.38 kB / 0.7217 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.4853, allocations: 29.33 kB / 0.7218 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.501e-05/0.4854, allocations: 60.98 kB / 0.7218 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.4857, allocations: 236.2 kB / 0.722 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4857, allocations: 1.406 kB / 0.722 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4857, allocations: 0 / 0.722 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.4857, allocations: 0 / 0.722 GB, free: 21.93 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.0004452/0.4862, allocations: 393.2 kB / 0.7224 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4862, allocations: 10.19 kB / 0.7224 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.4863, allocations: 13.77 kB / 0.7224 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.4864, allocations: 159.4 kB / 0.7226 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.4865, allocations: 9.875 kB / 0.7226 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.4865, allocations: 19.27 kB / 0.7226 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.4866, allocations: 93.62 kB / 0.7227 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4867, allocations: 1.125 kB / 0.7227 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4867, allocations: 8.828 kB / 0.7227 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4867, allocations: 6.156 kB / 0.7227 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.18e-05/0.4867, allocations: 42.92 kB / 0.7228 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.4871, allocations: 414.6 kB / 0.7232 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.303e-05/0.4872, allocations: 51.09 kB / 0.7232 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.4872, allocations: 31.8 kB / 0.7232 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.4872, allocations: 1.125 kB / 0.7232 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.4874, allocations: 116.8 kB / 0.7234 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.4874, allocations: 0 / 0.7234 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002765/0.4877, allocations: 131.2 kB / 0.7235 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.4877, allocations: 88.06 kB / 0.7236 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.4878, allocations: 132 kB / 0.7237 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.4878, allocations: 35 kB / 0.7237 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.4879, allocations: 104.1 kB / 0.7238 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.4879, allocations: 16.05 kB / 0.7238 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.488, allocations: 53.52 kB / 0.7239 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.081e-05/0.488, allocations: 324.5 kB / 0.7242 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.4882, allocations: 186.7 kB / 0.7244 GB, free: 20 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.4884, allocations: 231.6 kB / 0.7246 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.4886, allocations: 220.4 kB / 0.7248 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4886, allocations: 0 / 0.7248 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004342/0.489, allocations: 456.6 kB / 0.7252 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.4891, allocations: 65.25 kB / 0.7253 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4891, allocations: 2.156 kB / 0.7253 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4891, allocations: 1.438 kB / 0.7253 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.009e-05/0.4891, allocations: 7.719 kB / 0.7253 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4891, allocations: 1.828 kB / 0.7253 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.4894, allocations: 67.3 kB / 0.7254 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.4894, allocations: 20.53 kB / 0.7254 GB, free: 19.37 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 7.704e-05/0.4895, allocations: 140.1 kB / 0.7255 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.4895, allocations: 7.859 kB / 0.7255 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.4895, allocations: 10.81 kB / 0.7256 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4895, allocations: 1.188 kB / 0.7256 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4895, allocations: 1.781 kB / 0.7256 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4895, allocations: 1.031 kB / 0.7256 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.18e-05/0.4896, allocations: 135.7 kB / 0.7257 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4896, allocations: 2.078 kB / 0.7257 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-06/0.4896, allocations: 6.375 kB / 0.7257 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4896, allocations: 0 / 0.7257 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.4896, allocations: 2.281 kB / 0.7257 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.4896, allocations: 10.42 kB / 0.7257 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4896, allocations: 0 / 0.7257 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.4897, allocations: 138.3 kB / 0.7258 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.4897, allocations: 11.03 kB / 0.7259 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.4898, allocations: 2.281 kB / 0.7259 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.648e-05/0.4898, allocations: 2.031 kB / 0.7259 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.4898, allocations: 6.109 kB / 0.7259 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.4898, allocations: 7.219 kB / 0.7259 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.609e-05/0.4899, allocations: 101.2 kB / 0.726 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4899, allocations: 0 / 0.726 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001773/0.49, allocations: 32.28 kB / 0.726 GB, free: 18.89 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.0001093/0.4901, allocations: 112 kB / 0.7261 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.4905, allocations: 368.7 kB / 0.7265 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4905, allocations: 0 / 0.7265 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.767e-05/0.4905, allocations: 40.41 kB / 0.7265 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.4907, allocations: 26.81 kB / 0.7265 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.4911, allocations: 229.9 kB / 0.7267 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.011e-05/0.4911, allocations: 90.56 kB / 0.7268 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.4911, allocations: 11.25 kB / 0.7268 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/0.4911, allocations: 1.406 kB / 0.7268 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of Templates: time 0.003156/0.4943, allocations: 1.804 MB / 0.7286 GB, free: 18.12 MB / 0.6355 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.720025816000998] Failed to read output from testmodel.py, exit status != 0: 0.5012667230330408 0.509450142 0.021907836 Calling exit ...