Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001417/0.001417, allocations: 98.33 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.001712/0.001712, 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.85/2.85, allocations: 476.7 MB / 0.7715 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] 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.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_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.002069/0.002069, allocations: 67.14 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3874, allocations: 169.9 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001958/0.3893, allocations: 0.6793 MB / 1.285 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3904, allocations: 0.8627 MB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.3905, allocations: 4 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.884e-05/0.3906, allocations: 3.938 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.309e-05/0.3906, allocations: 3.938 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.3907, allocations: 19.98 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.094e-05/0.3908, allocations: 35.84 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3909, allocations: 8 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.091e-05/0.391, allocations: 11.98 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/0.3911, allocations: 23.92 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.3911, allocations: 0 / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-06/0.3911, allocations: 4 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.3911, allocations: 15.92 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.3912, allocations: 19.92 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.3913, allocations: 35.88 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3913, allocations: 0 / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3913, allocations: 0 / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3913, allocations: 0 / 1.286 GB, free: 10.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004926/0.3918, allocations: 274.5 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3918, allocations: 12.03 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.579e-05/0.3919, allocations: 192 / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.3919, allocations: 38.69 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.3919, allocations: 8.891 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3921, allocations: 110.5 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.3921, allocations: 4.375 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.3921, allocations: 4.375 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.3923, allocations: 73.95 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3923, allocations: 4 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3923, allocations: 0 / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3923, allocations: 0 / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.3925, allocations: 47.94 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.3929, allocations: 251.8 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.393, allocations: 42.55 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-05/0.3931, allocations: 24.91 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.3932, allocations: 0 / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.3932, allocations: 34.5 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.3932, allocations: 3.938 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003847/0.3936, allocations: 97.62 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.3936, allocations: 51.41 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.3937, allocations: 109.8 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3937, allocations: 25.7 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.3938, allocations: 84.09 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.3938, allocations: 3.953 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.3938, allocations: 17.72 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.394, allocations: 330.8 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.133e-05/0.3941, allocations: 15.98 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.699e-05/0.3942, allocations: 23.92 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3943, allocations: 40.81 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3943, allocations: 0 / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002146/0.3946, allocations: 69.72 kB / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3946, allocations: 4 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3946, allocations: 0 / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3946, allocations: 4 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3947, allocations: 11.98 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.3947, allocations: 0 / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.3947, allocations: 7.984 kB / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.3948, allocations: 4.031 kB / 1.288 GB, free: 8.039 MB / 0.9825 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.0001496/0.3949, allocations: 113.8 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.3949, allocations: 7.938 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.3949, allocations: 7.312 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3949, allocations: 0 / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.395, allocations: 3.984 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.395, allocations: 0 / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.3951, allocations: 136.6 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3951, allocations: 3.984 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.89e-05/0.3952, allocations: 12 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3952, allocations: 0 / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3952, allocations: 3.984 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3952, allocations: 0 / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3952, allocations: 0 / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.3955, allocations: 167.5 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-06/0.3955, allocations: 8.031 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.3955, allocations: 0 / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.3956, allocations: 7.984 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.3957, allocations: 4 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3957, allocations: 3.984 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.3957, allocations: 91.47 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3957, allocations: 0 / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002169/0.3959, allocations: 11.88 kB / 1.288 GB, free: 7.402 MB / 0.9825 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.000626/0.3966, allocations: 0.7024 MB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.3968, allocations: 43.91 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3968, allocations: 4.094 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3969, allocations: 23.91 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.3972, allocations: 11.94 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.3987, allocations: 1.259 MB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.399, allocations: 0.6846 MB / 1.291 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.613e-05/0.399, allocations: 4 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.3991, allocations: 11.44 kB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3991, allocations: 4 kB / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.422, allocations: 1.658 MB / 1.292 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.69, allocations: 5.281 kB / 1.292 GB, free: 3.008 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.655958193005063] Failed to read output from testmodel.py, exit status != 0: 12.458043102989905 11.877549798 11.481780176000001 Calling exit ...