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.0007624/0.0007624, allocations: 76.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.0007915/0.0007915, allocations: 169.8 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.9345/0.9345, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7394/0.7394, 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.001044/0.001044, allocations: 65.62 kB / 0.6195 GB, free: 13.11 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.4988/0.4999, allocations: 101.9 MB / 0.7191 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001572/0.5015, allocations: 0.614 MB / 0.7197 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.5027, allocations: 1.137 MB / 0.7208 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.5028, allocations: 1.125 kB / 0.7208 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.5029, allocations: 5.344 kB / 0.7208 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.503, allocations: 15.33 kB / 0.7208 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.5034, allocations: 121.6 kB / 0.7209 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.5036, allocations: 189.6 kB / 0.7211 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.5038, allocations: 12.12 kB / 0.7211 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.5039, allocations: 109.1 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.5041, allocations: 89.14 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.5041, allocations: 18.59 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-05/0.5042, allocations: 24.34 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.5043, allocations: 28.11 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.689e-05/0.5044, allocations: 57.16 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.5047, allocations: 206.5 kB / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5047, allocations: 0 / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5047, allocations: 0.9688 kB / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.5047, allocations: 0 / 0.7216 GB, free: 22.07 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.0005054/0.5052, allocations: 388.4 kB / 0.722 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.5052, allocations: 9.281 kB / 0.722 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.5053, allocations: 14.48 kB / 0.722 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.5055, allocations: 158.2 kB / 0.7222 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.5055, allocations: 13.95 kB / 0.7222 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.5055, allocations: 10.78 kB / 0.7222 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.5057, allocations: 98.44 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5057, allocations: 1.281 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.5057, allocations: 5.016 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5057, allocations: 2.531 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.483e-05/0.5058, allocations: 47.33 kB / 0.7224 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.5062, allocations: 414.5 kB / 0.7228 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/0.5063, allocations: 53.73 kB / 0.7228 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.5063, allocations: 28.94 kB / 0.7228 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.5063, allocations: 1.062 kB / 0.7228 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.5064, allocations: 116.2 kB / 0.7229 GB, free: 21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.5065, allocations: 0 / 0.7229 GB, free: 21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002643/0.5067, allocations: 135.5 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.5067, allocations: 84.53 kB / 0.7232 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.5068, allocations: 130.5 kB / 0.7233 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.5069, allocations: 31.34 kB / 0.7233 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.5069, allocations: 109.1 kB / 0.7234 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.5069, allocations: 6.891 kB / 0.7234 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/0.507, allocations: 54.83 kB / 0.7235 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.766e-05/0.507, allocations: 323.2 kB / 0.7238 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.5072, allocations: 195.6 kB / 0.724 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.5074, allocations: 231.6 kB / 0.7242 GB, free: 20 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.5076, allocations: 220.6 kB / 0.7244 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5076, allocations: 0 / 0.7244 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004604/0.5081, allocations: 453.2 kB / 0.7248 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.5081, allocations: 66.73 kB / 0.7249 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5081, allocations: 2.891 kB / 0.7249 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.5081, allocations: 6.969 kB / 0.7249 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.107e-05/0.5082, allocations: 1.875 kB / 0.7249 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.5082, allocations: 11.44 kB / 0.7249 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.5084, allocations: 63.56 kB / 0.725 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.5085, allocations: 15.64 kB / 0.725 GB, free: 19.52 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 8.417e-05/0.5085, allocations: 140.6 kB / 0.7251 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.5086, allocations: 11.38 kB / 0.7251 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.5086, allocations: 11.8 kB / 0.7251 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5086, allocations: 5.281 kB / 0.7252 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5086, allocations: 1.375 kB / 0.7252 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5086, allocations: 0.5625 kB / 0.7252 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.436e-05/0.5087, allocations: 132.2 kB / 0.7253 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5087, allocations: 0.9062 kB / 0.7253 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.184e-06/0.5087, allocations: 6.922 kB / 0.7253 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.5087, allocations: 0 / 0.7253 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5087, allocations: 3.078 kB / 0.7253 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5087, allocations: 0.75 kB / 0.7253 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5087, allocations: 1.031 kB / 0.7253 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.5088, allocations: 142.7 kB / 0.7254 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.5089, allocations: 11.8 kB / 0.7254 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.5089, allocations: 1.891 kB / 0.7254 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.585e-05/0.5089, allocations: 1 kB / 0.7254 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.5089, allocations: 9.781 kB / 0.7255 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.5089, allocations: 3.484 kB / 0.7255 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.045e-05/0.509, allocations: 97.95 kB / 0.7255 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.509, allocations: 0 / 0.7255 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002056/0.5092, allocations: 36.86 kB / 0.7256 GB, free: 19.04 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.0001169/0.5093, allocations: 106.1 kB / 0.7257 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.5097, allocations: 380.5 kB / 0.726 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5097, allocations: 0 / 0.726 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.489e-05/0.5097, allocations: 27.8 kB / 0.7261 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.5099, allocations: 21.92 kB / 0.7261 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.5103, allocations: 208.3 kB / 0.7263 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.478e-05/0.5103, allocations: 99.39 kB / 0.7264 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.5104, allocations: 9.656 kB / 0.7264 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.5104, allocations: 16.77 kB / 0.7264 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.5104, allocations: 0 / 0.7264 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.004909/0.5153, allocations: 2.463 MB / 0.7288 GB, free: 18.18 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.427834836998954] Failed to read output from testmodel.py, exit status != 0: 0.5213100949767977 0.5319559819999999 0.025228038 Calling exit ...