Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.00125/0.00125, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001874/0.001874, allocations: 215.7 kB / 23.04 MB, free: 5.078 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8 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.283/3.283, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.002045/0.002045, allocations: 65.22 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4271, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001919/0.4291, allocations: 0.6245 MB / 1.346 GB, free: 15.86 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.4306, allocations: 1.155 MB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.4307, allocations: 8 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.464e-05/0.4308, allocations: 0 / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.738e-05/0.4308, allocations: 7.938 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.4313, allocations: 128.5 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.4315, allocations: 91.81 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.4316, allocations: 8 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.627e-05/0.4316, allocations: 35.91 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.4318, allocations: 35.89 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.4318, allocations: 12 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.226e-05/0.4318, allocations: 23.98 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.4319, allocations: 3.984 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.432, allocations: 35.86 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.4321, allocations: 83.78 kB / 1.348 GB, free: 14.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4321, allocations: 4 kB / 1.348 GB, free: 14.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4321, allocations: 0 / 1.348 GB, free: 14.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.4321, allocations: 0 / 1.348 GB, free: 14.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004604/0.4326, allocations: 303.9 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4326, allocations: 8.031 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.791e-05/0.4327, allocations: 8.188 kB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.4327, allocations: 34.73 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.4327, allocations: 12.89 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.4329, allocations: 130.5 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.4329, allocations: 384 / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.4329, allocations: 8.375 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.4331, allocations: 53.98 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.4331, allocations: 0 / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.4331, allocations: 0 / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4331, allocations: 4 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.4331, allocations: 12 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.4335, allocations: 275.8 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.954e-05/0.4335, allocations: 18.58 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.4336, allocations: 12.91 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.4336, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.4337, allocations: 59.34 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4337, allocations: 4 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001886/0.4339, allocations: 65.8 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.434, allocations: 51.41 kB / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.4341, allocations: 113.7 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.4341, allocations: 29.7 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.4342, allocations: 88.14 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.4342, allocations: 3.953 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.4342, allocations: 33.7 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4344, allocations: 322.8 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.4345, allocations: 27.98 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.74e-05/0.4346, allocations: 46.56 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.4347, allocations: 88.23 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4347, allocations: 0 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002605/0.4349, allocations: 147.2 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.435, allocations: 37.69 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.435, allocations: 0 / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.435, allocations: 4 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-05/0.435, allocations: 0 / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.435, allocations: 3.938 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.4352, allocations: 36 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.4353, allocations: 8 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001328/0.4354, allocations: 121.7 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.4354, allocations: 4 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.4354, allocations: 8 kB / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4354, allocations: 0 / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4354, allocations: 320 / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4354, allocations: 0 / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.4356, allocations: 144.7 kB / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4356, allocations: 0 / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-06/0.4356, allocations: 4 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.4356, allocations: 0 / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.4356, allocations: 4 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4356, allocations: 0 / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4356, allocations: 0 / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.4357, allocations: 84.95 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.4357, allocations: 11.98 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.4357, allocations: 0 / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.313e-05/0.4357, allocations: 7.938 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.4358, allocations: 0 / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.4358, allocations: 4 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.453e-05/0.4358, allocations: 87.27 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4358, allocations: 0 / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000215/0.436, allocations: 19.94 kB / 1.35 GB, free: 11.41 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000468/0.4365, allocations: 0.6163 MB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.4367, allocations: 111.3 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4367, allocations: 0 / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.072e-05/0.4368, allocations: 8 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.437, allocations: 14.09 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.4386, allocations: 1.381 MB / 1.352 GB, free: 9.141 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.4389, allocations: 0.6846 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.551e-05/0.4389, allocations: 4 kB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.439, allocations: 11.44 kB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.439, allocations: 0 / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.4618, allocations: 2.128 MB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.82, allocations: 10.25 kB / 1.355 GB, free: 6.438 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.783957678999286] Failed to read output from testmodel.py, exit status != 0: 11.985638506012037 12.015093868 11.57755119 Calling exit ...