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.0009076/0.0009076, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009655/0.0009655, allocations: 222.9 kB / 22.26 MB, free: 3.691 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.9727/0.9727, allocations: 230.6 MB / 256 MB, free: 9.789 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.803/0.803, allocations: 203.8 MB / 0.5042 GB, free: 10.27 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.00089/0.00089, allocations: 71.53 kB / 0.7182 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4899, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.00138/0.4912, allocations: 0.6307 MB / 0.8185 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.4921, allocations: 1.167 MB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.4922, allocations: 0 / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.766e-05/0.4923, allocations: 5.438 kB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.436e-05/0.4924, allocations: 8.578 kB / 0.8196 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.4927, allocations: 119 kB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.4929, allocations: 186.3 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.4931, allocations: 21.95 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.84e-05/0.4931, allocations: 76.75 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.4933, allocations: 69.48 kB / 0.8201 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.4933, allocations: 18 kB / 0.8201 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.248e-05/0.4934, allocations: 30.91 kB / 0.8201 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.4934, allocations: 24.88 kB / 0.8201 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.322e-05/0.4935, allocations: 68.69 kB / 0.8202 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.4937, allocations: 197.2 kB / 0.8204 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4937, allocations: 4 kB / 0.8204 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4937, allocations: 0 / 0.8204 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.4937, allocations: 0 / 0.8204 GB, free: 15.68 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.0004381/0.4942, allocations: 383.7 kB / 0.8208 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4942, allocations: 10.41 kB / 0.8208 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.666e-05/0.4942, allocations: 34.98 kB / 0.8208 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.4943, allocations: 12.08 kB / 0.8208 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.4945, allocations: 169.8 kB / 0.821 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4945, allocations: 4.922 kB / 0.821 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.4945, allocations: 13.94 kB / 0.821 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.4947, allocations: 97.67 kB / 0.8211 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.4947, allocations: 3.938 kB / 0.8211 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.4947, allocations: 3.578 kB / 0.8211 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4947, allocations: 0 / 0.8211 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.714e-05/0.4948, allocations: 52.39 kB / 0.8212 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.4952, allocations: 477.8 kB / 0.8216 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.308e-05/0.4953, allocations: 50.48 kB / 0.8217 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.4953, allocations: 25.97 kB / 0.8217 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.4953, allocations: 0.6562 kB / 0.8217 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.4954, allocations: 118.4 kB / 0.8218 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.4954, allocations: 0 / 0.8218 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002244/0.4957, allocations: 137 kB / 0.8219 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.4957, allocations: 78.47 kB / 0.822 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/0.4958, allocations: 139.4 kB / 0.8221 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.4958, allocations: 34.3 kB / 0.8222 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.4959, allocations: 100.1 kB / 0.8223 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.094e-05/0.4959, allocations: 11.48 kB / 0.8223 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.496, allocations: 54.09 kB / 0.8223 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.496, allocations: 319.6 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.4962, allocations: 124.4 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.4964, allocations: 164.2 kB / 0.8229 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.4966, allocations: 230.9 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4966, allocations: 0 / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004143/0.497, allocations: 381.9 kB / 0.8235 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.497, allocations: 70.27 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.497, allocations: 6.359 kB / 0.8236 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.497, allocations: 5.375 kB / 0.8236 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.711e-05/0.4971, allocations: 3.391 kB / 0.8236 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4971, allocations: 1.438 kB / 0.8236 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.4973, allocations: 68.38 kB / 0.8236 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.4973, allocations: 11.56 kB / 0.8236 GB, free: 13.25 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 0.0003459/0.4977, allocations: 143 kB / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.4977, allocations: 7.547 kB / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.4977, allocations: 11.88 kB / 0.8238 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4977, allocations: 1.219 kB / 0.8238 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4977, allocations: 1.844 kB / 0.8238 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.4977, allocations: 4.922 kB / 0.8238 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.4978, allocations: 151.5 kB / 0.824 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4978, allocations: 1.469 kB / 0.824 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-06/0.4978, allocations: 6.156 kB / 0.824 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4978, allocations: 4 kB / 0.824 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4978, allocations: 4.266 kB / 0.824 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.4978, allocations: 0 / 0.824 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4978, allocations: 5.422 kB / 0.824 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.498, allocations: 136.9 kB / 0.8241 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-06/0.498, allocations: 6.219 kB / 0.8241 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.498, allocations: 6.453 kB / 0.8241 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.378e-05/0.498, allocations: 9.984 kB / 0.8241 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.498, allocations: 9.75 kB / 0.8241 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.498, allocations: 2.406 kB / 0.8241 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.654e-05/0.4981, allocations: 101.8 kB / 0.8242 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4981, allocations: 0 / 0.8242 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001793/0.4983, allocations: 36.08 kB / 0.8243 GB, free: 12.73 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.000308/0.4986, allocations: 0.6754 MB / 0.8249 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.4989, allocations: 297.4 kB / 0.8252 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4989, allocations: 0 / 0.8252 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-05/0.4989, allocations: 34.48 kB / 0.8252 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.4991, allocations: 26.03 kB / 0.8253 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.5013, allocations: 2.171 MB / 0.8274 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.5015, allocations: 0.7058 MB / 0.8281 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.189e-05/0.5015, allocations: 12.27 kB / 0.8281 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.5016, allocations: 19.84 kB / 0.8281 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5016, allocations: 0 / 0.8281 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.5193, allocations: 3.603 MB / 0.8316 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.521/7.04, allocations: 11.91 kB / 0.8316 GB, free: 9.07 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: 9.951359461061656] Failed to read output from testmodel.py, exit status != 0: 7.117030270863324 7.130099216 6.634128544 Calling exit ...