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.0007649/0.0007649, allocations: 80.45 kB / 19.15 MB, free: 0.7773 MB / 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.0009045/0.0009045, allocations: 162 kB / 22.43 MB, free: 2.145 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.8688/0.8688, allocations: 177.2 MB / 202.8 MB, free: 5.785 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.7116/0.7116, allocations: 155 MB / 414.2 MB, free: 468 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [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.0009933/0.0009933, allocations: 68.19 kB / 0.6186 GB, free: 13.22 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.4608/0.4618, allocations: 102 MB / 0.7182 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001287/0.4631, allocations: 0.6143 MB / 0.7188 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000916/0.464, allocations: 1.137 MB / 0.72 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.464, allocations: 5.438 kB / 0.72 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.4641, allocations: 1.312 kB / 0.72 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.56e-05/0.4642, allocations: 11.94 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.4646, allocations: 120.2 kB / 0.7201 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.4648, allocations: 193.4 kB / 0.7203 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.4649, allocations: 15.75 kB / 0.7203 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.4651, allocations: 104.5 kB / 0.7204 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.4652, allocations: 81.67 kB / 0.7205 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.4652, allocations: 14.75 kB / 0.7205 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.308e-05/0.4653, allocations: 28.08 kB / 0.7205 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.4653, allocations: 24.09 kB / 0.7205 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.509e-05/0.4654, allocations: 61.39 kB / 0.7206 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.4657, allocations: 244.8 kB / 0.7208 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4657, allocations: 0 / 0.7208 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4657, allocations: 5.094 kB / 0.7208 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.4657, allocations: 0 / 0.7208 GB, free: 21.58 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.000409/0.4661, allocations: 385 kB / 0.7212 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4661, allocations: 10.41 kB / 0.7212 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.26e-05/0.4662, allocations: 38.97 kB / 0.7212 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.4662, allocations: 13.31 kB / 0.7212 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.4664, allocations: 158.8 kB / 0.7214 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.4664, allocations: 10.56 kB / 0.7214 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.4664, allocations: 11.55 kB / 0.7214 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.4666, allocations: 105 kB / 0.7215 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4666, allocations: 9.031 kB / 0.7215 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.4666, allocations: 0.6562 kB / 0.7215 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4666, allocations: 2.188 kB / 0.7215 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.4666, allocations: 42.73 kB / 0.7216 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.467, allocations: 438.8 kB / 0.722 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.467, allocations: 55.92 kB / 0.722 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.4671, allocations: 26.64 kB / 0.7221 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.4671, allocations: 1.25 kB / 0.7221 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.4672, allocations: 116.1 kB / 0.7222 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.4672, allocations: 0.9375 kB / 0.7222 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002522/0.4674, allocations: 135.2 kB / 0.7223 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.4675, allocations: 80.12 kB / 0.7224 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/0.4675, allocations: 135.2 kB / 0.7225 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.4676, allocations: 34.78 kB / 0.7226 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.4676, allocations: 109.4 kB / 0.7227 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.4676, allocations: 8.016 kB / 0.7227 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.4677, allocations: 52.61 kB / 0.7227 GB, free: 20 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.808e-05/0.4677, allocations: 321.2 kB / 0.723 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.4679, allocations: 191.1 kB / 0.7232 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.4681, allocations: 231.5 kB / 0.7234 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.4683, allocations: 224.3 kB / 0.7236 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4683, allocations: 0 / 0.7236 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004063/0.4687, allocations: 456.4 kB / 0.7241 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.4687, allocations: 68.47 kB / 0.7241 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.4687, allocations: 6.734 kB / 0.7241 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4687, allocations: 2.688 kB / 0.7241 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.622e-05/0.4688, allocations: 2.188 kB / 0.7241 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4688, allocations: 2.547 kB / 0.7242 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.469, allocations: 70.41 kB / 0.7242 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.469, allocations: 15.88 kB / 0.7242 GB, free: 18.95 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.823e-05/0.4691, allocations: 145.4 kB / 0.7244 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.4691, allocations: 3.219 kB / 0.7244 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.4691, allocations: 10.84 kB / 0.7244 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4691, allocations: 1.031 kB / 0.7244 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4691, allocations: 1.828 kB / 0.7244 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.4691, allocations: 5.062 kB / 0.7244 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.812e-05/0.4692, allocations: 152.4 kB / 0.7245 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4692, allocations: 1.125 kB / 0.7245 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-06/0.4692, allocations: 5.828 kB / 0.7245 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.4692, allocations: 1.062 kB / 0.7245 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4692, allocations: 3.469 kB / 0.7245 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4692, allocations: 8 kB / 0.7246 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4692, allocations: 1.219 kB / 0.7246 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.4694, allocations: 142.9 kB / 0.7247 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-06/0.4694, allocations: 7.312 kB / 0.7247 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.4694, allocations: 2.672 kB / 0.7247 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.351e-05/0.4694, allocations: 4.906 kB / 0.7247 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.4694, allocations: 8.984 kB / 0.7247 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.4694, allocations: 3.672 kB / 0.7247 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.4694, allocations: 105.8 kB / 0.7248 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4694, allocations: 0 / 0.7248 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001698/0.4696, allocations: 36.22 kB / 0.7249 GB, free: 18.44 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.0002288/0.4698, allocations: 0.6782 MB / 0.7255 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.4701, allocations: 364.2 kB / 0.7259 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4701, allocations: 0 / 0.7259 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.4702, allocations: 28.73 kB / 0.7259 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.4704, allocations: 25.97 kB / 0.7259 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.472, allocations: 2.448 MB / 0.7283 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.4721, allocations: 86.84 kB / 0.7284 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.465e-05/0.4721, allocations: 11.66 kB / 0.7284 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.4721, allocations: 21.17 kB / 0.7284 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of SimCode: time 4.31e-07/0.4721, allocations: 0 / 0.7284 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.4889, allocations: 4.359 MB / 0.7327 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.631/7.12, allocations: 10.84 kB / 0.7327 GB, free: 14.55 MB / 0.6355 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.754625163041055] Failed to read output from testmodel.py, exit status != 0: 7.197602197993547 7.207722364 6.740067617 Calling exit ...