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.001352/0.001352, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001499/0.001499, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.892/2.892, allocations: 476.8 MB / 0.7715 GB, free: 3.898 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.002015/0.002015, allocations: 64.36 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3347, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002148/0.3368, allocations: 0.6639 MB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.338, allocations: 0.8472 MB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.338, allocations: 0 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.049e-05/0.3381, allocations: 7.922 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.878e-05/0.3382, allocations: 4 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.3383, allocations: 23.92 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.774e-05/0.3384, allocations: 35.91 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3385, allocations: 11.94 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.3386, allocations: 15.92 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.3387, allocations: 19.92 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.3387, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.3387, allocations: 4 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.3388, allocations: 15.97 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.3388, allocations: 11.94 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.3389, allocations: 35.88 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3389, allocations: 0 / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3389, allocations: 0 / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3389, allocations: 4 kB / 1.286 GB, free: 8.922 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.0004718/0.3394, allocations: 275.5 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3394, allocations: 12.03 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.931e-05/0.3394, allocations: 192 / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.3395, allocations: 34.75 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.3395, allocations: 4.891 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3397, allocations: 118.5 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.3397, allocations: 8.359 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.3397, allocations: 384 / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.3399, allocations: 73.97 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3399, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3399, allocations: 4 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3399, allocations: 0 / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.3401, allocations: 39.95 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.3405, allocations: 251.8 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3407, allocations: 38.55 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.132e-05/0.3408, allocations: 28.91 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.3408, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.3408, allocations: 34.56 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3408, allocations: 0 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003857/0.3412, allocations: 85.58 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.3413, allocations: 55.39 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.3414, allocations: 106 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3414, allocations: 29.7 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.3415, allocations: 100 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.3415, allocations: 3.953 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.3415, allocations: 13.72 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3417, allocations: 318.8 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3418, allocations: 19.97 kB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-05/0.3418, allocations: 15.98 kB / 1.287 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.342, allocations: 52.81 kB / 1.287 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.342, allocations: 3.938 kB / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002208/0.3422, allocations: 69.66 kB / 1.287 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.3423, allocations: 6.188 kB / 1.287 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3423, allocations: 0 / 1.287 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3423, allocations: 0 / 1.287 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3424, allocations: 11.98 kB / 1.287 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.3424, allocations: 4.031 kB / 1.287 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.3425, allocations: 7.984 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.3425, allocations: 0 / 1.288 GB, free: 6.941 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.0001674/0.3426, allocations: 117.8 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.3427, allocations: 0 / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.3427, allocations: 7.312 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3427, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3427, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3427, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.3429, allocations: 136.7 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3429, allocations: 4 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.3429, allocations: 15.94 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3429, allocations: 3.984 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3429, allocations: 0 / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3429, allocations: 0 / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.343, allocations: 0 / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.3432, allocations: 171.4 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.3432, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3432, allocations: 4.031 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.3433, allocations: 7.984 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.3434, allocations: 8.234 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3434, allocations: 0 / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.184e-05/0.3434, allocations: 87.28 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3434, allocations: 3.938 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002345/0.3437, allocations: 11.94 kB / 1.288 GB, free: 6.309 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.0006241/0.3443, allocations: 0.7046 MB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.3445, allocations: 43.95 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3445, allocations: 0 / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3446, allocations: 23.92 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.3449, allocations: 4 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.3464, allocations: 1.27 MB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.908e-05/0.3465, allocations: 67.34 kB / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.817e-05/0.3465, allocations: 4 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.3466, allocations: 15.47 kB / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3466, allocations: 0 / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.3682, allocations: 1.7 MB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.87, allocations: 9.047 kB / 1.292 GB, free: 2.492 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.91700258606579] Failed to read output from testmodel.py, exit status != 0: 12.693839874933474 12.064026058 11.722047295 Calling exit ...