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.001013/0.001013, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.001147/0.001147, allocations: 216 kB / 22.25 MB, free: 3.578 MB / 13.93 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.9579/0.9579, allocations: 230.6 MB / 256 MB, free: 9.648 MB / 202.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.8199/0.8199, allocations: 203.8 MB / 0.5042 GB, free: 10.4 MB / 410.7 MB " [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.001329/0.001329, allocations: 72.67 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4975, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001483/0.499, allocations: 0.6302 MB / 0.8184 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.5002, allocations: 1.14 MB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.5003, allocations: 0 / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.461e-05/0.5004, allocations: 4.875 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.875e-05/0.5004, allocations: 10.97 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.5008, allocations: 121.3 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.5011, allocations: 187.6 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.5012, allocations: 13.83 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.5013, allocations: 78.97 kB / 0.8199 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.5015, allocations: 84.41 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.5015, allocations: 14.75 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.23e-05/0.5016, allocations: 28.47 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.5016, allocations: 29.98 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.551e-05/0.5017, allocations: 60.86 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.502, allocations: 197 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.502, allocations: 0 / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.384e-06/0.502, allocations: 0.75 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.502, allocations: 4 kB / 0.8203 GB, free: 15.51 MB / 0.6198 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.0005205/0.5025, allocations: 385.6 kB / 0.8207 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.5025, allocations: 7.562 kB / 0.8207 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.5026, allocations: 38.67 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.5026, allocations: 14.05 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.5028, allocations: 160.3 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.5028, allocations: 8.406 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.5029, allocations: 11.42 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.503, allocations: 99.75 kB / 0.821 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.5031, allocations: 3.938 kB / 0.821 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.5031, allocations: 4.75 kB / 0.821 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5031, allocations: 4.906 kB / 0.821 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.399e-05/0.5031, allocations: 43.62 kB / 0.8211 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.5036, allocations: 446.5 kB / 0.8215 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.198e-05/0.5037, allocations: 50.47 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.5037, allocations: 27.5 kB / 0.8216 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.5037, allocations: 0.7969 kB / 0.8216 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.5039, allocations: 116.9 kB / 0.8217 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.5039, allocations: 4 kB / 0.8217 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002275/0.5041, allocations: 134.4 kB / 0.8218 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.5041, allocations: 81.67 kB / 0.8219 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.5042, allocations: 135.7 kB / 0.822 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.5042, allocations: 31.7 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.5043, allocations: 109.3 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.5043, allocations: 6.453 kB / 0.8222 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.5044, allocations: 54.09 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.5044, allocations: 320.3 kB / 0.8225 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.5046, allocations: 192.1 kB / 0.8227 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.5048, allocations: 234.5 kB / 0.8229 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.505, allocations: 224.4 kB / 0.8231 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.505, allocations: 0.75 kB / 0.8231 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004254/0.5054, allocations: 456.6 kB / 0.8236 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.5054, allocations: 64.09 kB / 0.8236 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5054, allocations: 2.156 kB / 0.8236 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5054, allocations: 5.469 kB / 0.8236 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.614e-05/0.5055, allocations: 3.516 kB / 0.8236 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5055, allocations: 2.562 kB / 0.8236 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.5057, allocations: 70.34 kB / 0.8237 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.5057, allocations: 12.97 kB / 0.8237 GB, free: 12.89 MB / 0.6198 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 9.291e-05/0.5058, allocations: 136.9 kB / 0.8238 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.5058, allocations: 11.8 kB / 0.8239 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.5058, allocations: 11.81 kB / 0.8239 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5059, allocations: 2.25 kB / 0.8239 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5059, allocations: 0 / 0.8239 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.5059, allocations: 6.125 kB / 0.8239 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.76e-05/0.506, allocations: 151.6 kB / 0.824 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.506, allocations: 1.5 kB / 0.824 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-06/0.506, allocations: 2.188 kB / 0.824 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.506, allocations: 0.7031 kB / 0.824 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.506, allocations: 2.469 kB / 0.824 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.506, allocations: 1.125 kB / 0.824 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.506, allocations: 5.062 kB / 0.824 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.5061, allocations: 142.8 kB / 0.8242 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-06/0.5061, allocations: 10.95 kB / 0.8242 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.5061, allocations: 2.562 kB / 0.8242 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.507e-05/0.5061, allocations: 1.688 kB / 0.8242 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.5062, allocations: 13.05 kB / 0.8242 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.5062, allocations: 7.422 kB / 0.8242 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.5062, allocations: 101.3 kB / 0.8243 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5062, allocations: 0 / 0.8243 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001679/0.5064, allocations: 37.05 kB / 0.8243 GB, free: 12.37 MB / 0.6198 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.0003194/0.5067, allocations: 0.6806 MB / 0.825 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003646/0.5071, allocations: 364.5 kB / 0.8254 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5071, allocations: 0 / 0.8254 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.371e-05/0.5071, allocations: 31.95 kB / 0.8254 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.5073, allocations: 21.38 kB / 0.8254 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.5092, allocations: 2.441 MB / 0.8278 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.984e-05/0.5092, allocations: 91.11 kB / 0.8279 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.5092, allocations: 10.97 kB / 0.8279 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.5093, allocations: 20.48 kB / 0.8279 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.5093, allocations: 0 / 0.8279 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.5281, allocations: 4.216 MB / 0.832 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.606/7.134, allocations: 13.72 kB / 0.832 GB, free: 8.512 MB / 0.6198 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: 10.164825414773077] Failed to read output from testmodel.py, exit status != 0: 7.215776882600039 7.230272618 6.725385715 Calling exit ...