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.001644/0.001644, 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.001866/0.001866, allocations: 210.2 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.618/1.618, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.209/3.209, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 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.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.002004/0.002004, allocations: 71.91 kB / 1.165 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.131, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002009/1.133, allocations: 0.6682 MB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001019/1.134, allocations: 0.8643 MB / 1.342 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/1.134, allocations: 0 / 1.342 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/1.134, allocations: 4.594 kB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.414e-05/1.134, allocations: 5.922 kB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/1.135, allocations: 15.95 kB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.048e-05/1.135, allocations: 38.16 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/1.135, allocations: 8.703 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/1.135, allocations: 12.73 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/1.135, allocations: 17.31 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/1.135, allocations: 10.2 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/1.135, allocations: 3.344 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/1.135, allocations: 14.05 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/1.135, allocations: 13.16 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/1.135, allocations: 37.62 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/1.135, allocations: 0 / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.114e-06/1.135, allocations: 1.125 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.243e-05/1.135, allocations: 4.734 kB / 1.342 GB, free: 15.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004372/1.136, allocations: 347.4 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.136, allocations: 14.58 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.365e-05/1.136, allocations: 1.344 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.276e-05/1.136, allocations: 36.58 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/1.136, allocations: 7.203 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/1.136, allocations: 175 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/1.136, allocations: 6.281 kB / 1.342 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/1.136, allocations: 3.375 kB / 1.342 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/1.136, allocations: 73.81 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/1.136, allocations: 5 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/1.136, allocations: 0.7969 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.136, allocations: 1 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/1.136, allocations: 48.75 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/1.137, allocations: 272.9 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/1.137, allocations: 51.86 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/1.137, allocations: 19.52 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/1.137, allocations: 1.312 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/1.137, allocations: 31.08 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/1.137, allocations: 1.375 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004186/1.137, allocations: 91.92 kB / 1.343 GB, free: 14.03 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/1.137, allocations: 56.75 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.666e-05/1.137, allocations: 107.3 kB / 1.343 GB, free: 13.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/1.138, allocations: 25.7 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/1.138, allocations: 83.73 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/1.138, allocations: 9.828 kB / 1.343 GB, free: 13.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/1.138, allocations: 13.64 kB / 1.343 GB, free: 13.72 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/1.138, allocations: 322.3 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/1.138, allocations: 19.28 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.974e-05/1.138, allocations: 20.11 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/1.138, allocations: 39.25 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.138, allocations: 1.844 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002311/1.138, allocations: 80.92 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.138, allocations: 5.891 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.138, allocations: 1.781 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.138, allocations: 0.6562 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/1.138, allocations: 8.297 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.138, allocations: 0.7969 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/1.138, allocations: 6.516 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/1.139, allocations: 2.781 kB / 1.344 GB, free: 13.33 MB / 1.061 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.0001424/1.139, allocations: 120 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/1.139, allocations: 5.969 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/1.139, allocations: 12.98 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/1.139, allocations: 0.5156 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.139, allocations: 1.375 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.139, allocations: 0.7031 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/1.139, allocations: 164.7 kB / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.139, allocations: 0 / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.317e-05/1.139, allocations: 13.81 kB / 1.344 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.139, allocations: 1.219 kB / 1.344 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/1.139, allocations: 4.562 kB / 1.344 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.139, allocations: 2.344 kB / 1.344 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.139, allocations: 4 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/1.139, allocations: 167.6 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/1.139, allocations: 91.25 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/1.139, allocations: 0.5156 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-05/1.139, allocations: 5.641 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/1.139, allocations: 5.734 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/1.139, allocations: 0.7969 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.3e-05/1.139, allocations: 84.97 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.139, allocations: 1.406 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002233/1.14, allocations: 12.3 kB / 1.344 GB, free: 12.65 MB / 1.061 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.0005056/1.14, allocations: 0.6959 MB / 1.345 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002754/1.14, allocations: 46.84 kB / 1.345 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.14, allocations: 4.062 kB / 1.345 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/1.141, allocations: 19.23 kB / 1.345 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/1.141, allocations: 11.39 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/1.142, allocations: 1.257 MB / 1.346 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/1.142, allocations: 0.6844 MB / 1.347 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.733e-05/1.142, allocations: 9.016 kB / 1.347 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/1.142, allocations: 15.27 kB / 1.347 GB, free: 10.06 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/1.142, allocations: 0 / 1.347 GB, free: 10.06 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/1.161, allocations: 1.585 MB / 1.349 GB, free: 9.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/9.45, allocations: 7.688 kB / 1.349 GB, free: 9.676 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.60111212497577] Failed to read output from testmodel.py, exit status != 0: 9.573423276015092 9.587133483 8.449435547 Calling exit ...