Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001909/0.001909, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.002201/0.002201, allocations: 216.5 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.47/3.47, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002126/0.002126, allocations: 63.81 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3633, allocations: 179 MB / 1.345 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001853/0.3651, allocations: 0.6297 MB / 1.346 GB, free: 15.85 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.3667, allocations: 1.155 MB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.3667, allocations: 0 / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.785e-05/0.3668, allocations: 7.922 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.177e-05/0.3669, allocations: 7.938 kB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.3674, allocations: 130.4 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.3676, allocations: 187.7 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3677, allocations: 15.98 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.3679, allocations: 87.81 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.368, allocations: 63.84 kB / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.3681, allocations: 16 kB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-05/0.3681, allocations: 27.98 kB / 1.348 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.3682, allocations: 23.92 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3683, allocations: 71.81 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.3686, allocations: 195.4 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3686, allocations: 7.984 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3686, allocations: 0 / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3686, allocations: 0 / 1.348 GB, free: 13.86 MB / 1.045 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.00069/0.3693, allocations: 385.4 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.3694, allocations: 12.03 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.417e-05/0.3694, allocations: 192 / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.3694, allocations: 34.75 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.3695, allocations: 16.92 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.3697, allocations: 162.4 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3698, allocations: 8.375 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.3698, allocations: 16.38 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.37, allocations: 103.6 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.37, allocations: 0 / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.37, allocations: 4 kB / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.37, allocations: 0 / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.762e-05/0.3701, allocations: 43.97 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.3708, allocations: 463.9 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.953e-05/0.3708, allocations: 53.14 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.3709, allocations: 25.77 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.3709, allocations: 3.938 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.3711, allocations: 120.9 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3711, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0003344/0.3714, allocations: 129.6 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.3715, allocations: 89.03 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3716, allocations: 137.7 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.3717, allocations: 41.64 kB / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.3718, allocations: 104.1 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.3718, allocations: 7.906 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.3719, allocations: 57.69 kB / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.372, allocations: 318.8 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.3723, allocations: 119.9 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.3725, allocations: 165 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.3728, allocations: 216.4 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3728, allocations: 0 / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007149/0.3735, allocations: 389.1 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.219e-05/0.3736, allocations: 67.39 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3736, allocations: 0 / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3736, allocations: 7.938 kB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.126e-05/0.3736, allocations: 4 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3736, allocations: 3.938 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.374, allocations: 64.09 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.3741, allocations: 23.97 kB / 1.351 GB, free: 10.21 MB / 1.045 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.0001831/0.3743, allocations: 133.1 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.3743, allocations: 7.953 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.3743, allocations: 12 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3743, allocations: 0 / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3743, allocations: 7.938 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3743, allocations: 7.922 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.3745, allocations: 160.7 kB / 1.351 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3745, allocations: 7.938 kB / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-06/0.3745, allocations: 0 / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3745, allocations: 0 / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3746, allocations: 4 kB / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3746, allocations: 0 / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3746, allocations: 3.938 kB / 1.351 GB, free: 9.82 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.3747, allocations: 129.9 kB / 1.352 GB, free: 9.672 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.299e-05/0.3748, allocations: 11.95 kB / 1.352 GB, free: 9.66 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3748, allocations: 4 kB / 1.352 GB, free: 9.656 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.3748, allocations: 0 / 1.352 GB, free: 9.656 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.3748, allocations: 15.86 kB / 1.352 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.3748, allocations: 4 kB / 1.352 GB, free: 9.637 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.265e-05/0.3749, allocations: 107.7 kB / 1.352 GB, free: 9.531 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3749, allocations: 0 / 1.352 GB, free: 9.531 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002603/0.3752, allocations: 35.94 kB / 1.352 GB, free: 9.496 MB / 1.045 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.000529/0.3757, allocations: 0.6679 MB / 1.352 GB, free: 8.797 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.3762, allocations: 306.5 kB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3762, allocations: 0 / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-05/0.3763, allocations: 31.97 kB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.3765, allocations: 24.3 kB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.3793, allocations: 2.183 MB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.3798, allocations: 0.7002 MB / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.871e-05/0.3798, allocations: 11.77 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.3798, allocations: 19.44 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of SimCode: time 9.82e-07/0.3798, allocations: 4 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.4155, allocations: 3.633 MB / 1.359 GB, free: 1.875 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.8, allocations: 13.55 kB / 1.359 GB, free: 1.863 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.901949305960443] Failed to read output from testmodel.py, exit status != 0: 11.964718222967349 11.995263035 11.620549734 Calling exit ...