Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.001436/0.001436, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00153/0.00153, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.59/1.59, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.16/3.16, allocations: 0.5003 GB / 0.8026 GB, free: 6.824 MB / 0.6387 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.IntegerVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.002223/0.002223, allocations: 71.89 kB / 1.165 GB, free: 500 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.16, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002045/1.162, allocations: 0.6868 MB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001096/1.163, allocations: 0.8606 MB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/1.163, allocations: 8.938 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000147/1.163, allocations: 11.02 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/1.163, allocations: 2.953 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/1.163, allocations: 17.11 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/1.164, allocations: 75.48 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/1.164, allocations: 26.44 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/1.164, allocations: 41.95 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/1.164, allocations: 44.27 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/1.164, allocations: 5.125 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.137e-05/1.164, allocations: 5.469 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/1.164, allocations: 25.31 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.087e-05/1.164, allocations: 35.02 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/1.164, allocations: 88.75 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/1.164, allocations: 4.703 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.715e-06/1.164, allocations: 4 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.666e-06/1.164, allocations: 0 / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007952/1.165, allocations: 399.9 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.165, allocations: 11.52 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.165e-05/1.165, allocations: 2 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/1.165, allocations: 41.83 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/1.165, allocations: 9.078 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/1.166, allocations: 194.4 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/1.166, allocations: 8.953 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/1.166, allocations: 4.281 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/1.166, allocations: 165.8 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.166, allocations: 3.938 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/1.166, allocations: 0 / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.166, allocations: 2.031 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/1.167, allocations: 152.4 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/1.167, allocations: 443.8 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/1.168, allocations: 117.6 kB / 1.343 GB, free: 13.81 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/1.168, allocations: 79.89 kB / 1.344 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/1.168, allocations: 5.75 kB / 1.344 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/1.168, allocations: 36.59 kB / 1.344 GB, free: 13.74 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/1.168, allocations: 0 / 1.344 GB, free: 13.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0007718/1.169, allocations: 231.7 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/1.169, allocations: 85.3 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/1.169, allocations: 126.3 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/1.169, allocations: 26.36 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/1.169, allocations: 97.16 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/1.169, allocations: 15.19 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/1.169, allocations: 23.06 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.815e-05/1.169, allocations: 319.1 kB / 1.344 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/1.169, allocations: 67.23 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/1.17, allocations: 79.33 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004244/1.17, allocations: 132.6 kB / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.17, allocations: 1.375 kB / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004922/1.171, allocations: 160.8 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.171, allocations: 4.125 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.171, allocations: 2.031 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.171, allocations: 1.375 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/1.171, allocations: 30.61 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.171, allocations: 1.375 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/1.171, allocations: 19 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/1.171, allocations: 5.922 kB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.157e-05/1.171, allocations: 127.2 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/1.171, allocations: 3.547 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/1.171, allocations: 11.08 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/1.171, allocations: 9.312 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.171, allocations: 0 / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.171, allocations: 2.172 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/1.171, allocations: 200 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.171, allocations: 1.375 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/1.171, allocations: 26.36 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.171, allocations: 1.375 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/1.171, allocations: 0.7969 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.171, allocations: 5.312 kB / 1.345 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.171, allocations: 2.078 kB / 1.345 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/1.172, allocations: 333.2 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/1.172, allocations: 85.5 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/1.172, allocations: 1.375 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/1.172, allocations: 23.22 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.831e-05/1.172, allocations: 26.61 kB / 1.346 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/1.172, allocations: 5.312 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.495e-05/1.172, allocations: 99.06 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.172, allocations: 0 / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002732/1.173, allocations: 16.31 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006914/1.173, allocations: 0.8623 MB / 1.347 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005008/1.174, allocations: 141.9 kB / 1.347 GB, free: 11.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.174, allocations: 0 / 1.347 GB, free: 11.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/1.174, allocations: 87.38 kB / 1.347 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/1.174, allocations: 20.58 kB / 1.347 GB, free: 11.26 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/1.177, allocations: 1.689 MB / 1.349 GB, free: 9.898 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/1.177, allocations: 0.7029 MB / 1.349 GB, free: 9.199 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.411e-05/1.177, allocations: 17.89 kB / 1.349 GB, free: 9.199 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/1.177, allocations: 22.45 kB / 1.349 GB, free: 9.184 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.177, allocations: 5.125 kB / 1.349 GB, free: 9.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/1.196, allocations: 2.475 MB / 1.352 GB, free: 8.754 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.405/9.602, allocations: 17.56 kB / 1.352 GB, free: 8.742 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.639101337001193] Failed to read output from testmodel.py, exit status != 0: 9.726823522010818 9.741888263 8.574370995 Calling exit ...