Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00139/0.00139, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001556/0.001556, allocations: 214.4 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.605/1.605, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.8 MB / 0.7715 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_11_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.002013/0.002013, allocations: 72.95 kB / 1.118 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3474, allocations: 169.9 MB / 1.284 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002008/0.3494, allocations: 0.6798 MB / 1.285 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3505, allocations: 0.8631 MB / 1.286 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.3506, allocations: 0 / 1.286 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.763e-05/0.3507, allocations: 7.922 kB / 1.286 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.687e-05/0.3508, allocations: 19.92 kB / 1.286 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.3509, allocations: 15.98 kB / 1.286 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.351, allocations: 75.75 kB / 1.286 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3512, allocations: 23.92 kB / 1.286 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.3512, allocations: 31.92 kB / 1.286 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3513, allocations: 39.89 kB / 1.286 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3514, allocations: 4 kB / 1.286 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.3514, allocations: 15.88 kB / 1.286 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.3514, allocations: 27.95 kB / 1.286 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.3515, allocations: 35.8 kB / 1.286 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.3516, allocations: 87.69 kB / 1.286 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3516, allocations: 4 kB / 1.286 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3516, allocations: 0 / 1.286 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3516, allocations: 3.938 kB / 1.286 GB, free: 2.031 MB / 0.9825 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.0006616/0.3523, allocations: 318.1 kB / 1.286 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3524, allocations: 8.031 kB / 1.286 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.977e-05/0.3524, allocations: 4.188 kB / 1.286 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.3524, allocations: 34.75 kB / 1.286 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.3525, allocations: 20.81 kB / 1.286 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3527, allocations: 138.4 kB / 1.287 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.3527, allocations: 8.375 kB / 1.287 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.3527, allocations: 4.375 kB / 1.287 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.3531, allocations: 163.6 kB / 1.287 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3531, allocations: 0 / 1.287 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3532, allocations: 0 / 1.287 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.3532, allocations: 4 kB / 1.287 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.3536, allocations: 159.8 kB / 1.287 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007289/0.3544, allocations: 419.7 kB / 1.287 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.3547, allocations: 113.1 kB / 1.287 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.3549, allocations: 77.7 kB / 1.287 GB, free: 452 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.3549, allocations: 3.938 kB / 1.287 GB, free: 448 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.355, allocations: 34.56 kB / 1.287 GB, free: 404 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.355, allocations: 0 / 1.287 GB, free: 404 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0008138/0.3558, allocations: 225.6 kB / 1.288 GB, free: 172 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.3558, allocations: 85.08 kB / 1.288 GB, free: 68 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.356, allocations: 129.8 kB / 1.288 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.356, allocations: 29.7 kB / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.3561, allocations: 100 kB / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.3562, allocations: 3.953 kB / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.3562, allocations: 25.7 kB / 1.288 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3564, allocations: 314.8 kB / 1.288 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.3566, allocations: 67.92 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.3568, allocations: 77.62 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.3572, allocations: 129.5 kB / 1.289 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3572, allocations: 0 / 1.289 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004661/0.3577, allocations: 165.5 kB / 1.289 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3577, allocations: 8.312 kB / 1.289 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3577, allocations: 4 kB / 1.289 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3577, allocations: 4.062 kB / 1.289 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3579, allocations: 27.91 kB / 1.289 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3579, allocations: 7.922 kB / 1.289 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.358, allocations: 15.97 kB / 1.289 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.358, allocations: 4 kB / 1.289 GB, free: 14.92 MB / 0.9981 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 0.0001401/0.3582, allocations: 129.8 kB / 1.289 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.3582, allocations: 3.953 kB / 1.289 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.3583, allocations: 19.61 kB / 1.289 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3583, allocations: 3.938 kB / 1.289 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3583, allocations: 0 / 1.289 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3583, allocations: 0 / 1.289 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.3585, allocations: 168.6 kB / 1.289 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3585, allocations: 3.938 kB / 1.289 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.3587, allocations: 23.97 kB / 1.289 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3587, allocations: 0 / 1.289 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3587, allocations: 0 / 1.289 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3587, allocations: 7.938 kB / 1.289 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3587, allocations: 7.938 kB / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.3592, allocations: 332 kB / 1.289 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.3592, allocations: 0 / 1.289 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3593, allocations: 11.98 kB / 1.29 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.3595, allocations: 15.92 kB / 1.29 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.3596, allocations: 27.95 kB / 1.29 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3596, allocations: 4 kB / 1.29 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.413e-05/0.3596, allocations: 91.27 kB / 1.29 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3596, allocations: 0 / 1.29 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002779/0.3599, allocations: 15.95 kB / 1.29 GB, free: 14 MB / 0.9981 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.0009042/0.3608, allocations: 0.864 MB / 1.29 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004926/0.3613, allocations: 143.8 kB / 1.291 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3613, allocations: 0 / 1.291 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.3616, allocations: 87.89 kB / 1.291 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.3619, allocations: 14.83 kB / 1.291 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.3644, allocations: 1.7 MB / 1.292 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.3648, allocations: 0.7002 MB / 1.293 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.074e-05/0.3649, allocations: 19.98 kB / 1.293 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.365, allocations: 31.42 kB / 1.293 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of SimCode: time 1.492e-06/0.365, allocations: 0 / 1.293 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.388, allocations: 2.558 MB / 1.296 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.8, allocations: 5.078 kB / 1.296 GB, free: 7.906 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.604145333985798] Failed to read output from testmodel.py, exit status != 0: 11.964523817005102 11.982655424 11.627703327 Calling exit ...