Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001714/0.001714, 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.002045/0.002045, allocations: 218 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.6/1.6, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.372/3.372, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.002044/0.002044, allocations: 65.08 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4567, allocations: 179 MB / 1.345 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002017/0.4587, allocations: 0.6661 MB / 1.346 GB, free: 15.83 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.4598, allocations: 0.8709 MB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.4599, allocations: 4 kB / 1.347 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.46, allocations: 3.938 kB / 1.347 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.187e-05/0.46, allocations: 0 / 1.347 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.4602, allocations: 19.92 kB / 1.347 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.871e-05/0.4603, allocations: 31.86 kB / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.4604, allocations: 11.98 kB / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/0.4604, allocations: 15.98 kB / 1.347 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.4606, allocations: 15.92 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.4606, allocations: 4 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.4606, allocations: 4 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.4607, allocations: 11.98 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.4607, allocations: 19.86 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.4608, allocations: 35.88 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4608, allocations: 0 / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4608, allocations: 0 / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.4608, allocations: 3.938 kB / 1.347 GB, free: 14.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000502/0.4613, allocations: 274.3 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4614, allocations: 8.031 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.876e-05/0.4614, allocations: 4.188 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.4614, allocations: 34.75 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.4615, allocations: 8.828 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.4616, allocations: 114.5 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.4616, allocations: 4.375 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.4617, allocations: 8.312 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.4619, allocations: 65.97 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.4619, allocations: 0 / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4619, allocations: 8 kB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.4619, allocations: 0 / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.4621, allocations: 39.95 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.4625, allocations: 259.7 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.4626, allocations: 38.55 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.589e-05/0.4627, allocations: 28.91 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.4627, allocations: 0 / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4627, allocations: 38.5 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4628, allocations: 0 / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003882/0.4631, allocations: 89.72 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.4632, allocations: 55.44 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.4633, allocations: 109.8 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.4633, allocations: 29.7 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.4634, allocations: 80.14 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.4634, allocations: 3.953 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.4634, allocations: 17.72 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4636, allocations: 322.8 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.941e-05/0.4637, allocations: 19.98 kB / 1.349 GB, free: 12.95 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.101e-05/0.4637, allocations: 15.98 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.4639, allocations: 48.75 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4639, allocations: 0 / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002175/0.4641, allocations: 69.72 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4641, allocations: 4 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4642, allocations: 4 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.4642, allocations: 3.938 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.4643, allocations: 7.984 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.4643, allocations: 0 / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.586e-05/0.4643, allocations: 7.984 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.4643, allocations: 4 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001639/0.4645, allocations: 117.8 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.4645, allocations: 7.953 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.4646, allocations: 7.25 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4646, allocations: 7.922 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4646, allocations: 0 / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.4646, allocations: 0 / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.4647, allocations: 140.7 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4647, allocations: 0 / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.788e-05/0.4648, allocations: 8 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.4648, allocations: 3.984 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.4648, allocations: 7.984 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4648, allocations: 0 / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4648, allocations: 4 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.4651, allocations: 163.5 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-06/0.4651, allocations: 0 / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.4651, allocations: 4 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.4652, allocations: 12.27 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.4653, allocations: 4 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.4653, allocations: 7.984 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.744e-05/0.4653, allocations: 83.28 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4653, allocations: 3.938 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000225/0.4655, allocations: 15.89 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000616/0.4662, allocations: 0.6947 MB / 1.35 GB, free: 11.4 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.4664, allocations: 39.97 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.4664, allocations: 4 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.4665, allocations: 28 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.4668, allocations: 11.94 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.4684, allocations: 1.261 MB / 1.351 GB, free: 9.977 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.4688, allocations: 0.6844 MB / 1.352 GB, free: 9.266 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.795e-05/0.4689, allocations: 11.98 kB / 1.352 GB, free: 9.254 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.4689, allocations: 11.44 kB / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.4689, allocations: 0 / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.4909, allocations: 1.651 MB / 1.354 GB, free: 7.738 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.66, allocations: 22.12 kB / 1.354 GB, free: 7.719 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.956404415948782] Failed to read output from testmodel.py, exit status != 0: 11.819462109997403 11.834669045 11.370448344 Calling exit ...