Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001756/0.001756, allocations: 116.8 kB / 17.17 MB, free: 6.004 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.002176/0.002176, allocations: 214.4 kB / 20.13 MB, free: 3.055 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.611/1.611, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.046/3.046, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.BooleanScalarReplicator,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_12_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.002034/0.002034, allocations: 63.91 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095/1.097, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002217/1.099, allocations: 0.6348 MB / 1.322 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001387/1.101, allocations: 1.143 MB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/1.101, allocations: 0 / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/1.101, allocations: 7.266 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.843e-05/1.101, allocations: 7.938 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/1.101, allocations: 127.8 kB / 1.323 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000167/1.101, allocations: 88.16 kB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/1.102, allocations: 6.969 kB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.871e-05/1.102, allocations: 35.81 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/1.102, allocations: 34.05 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/1.102, allocations: 8.219 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/1.102, allocations: 24.72 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.82e-05/1.102, allocations: 13 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/1.102, allocations: 34.84 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/1.102, allocations: 87.41 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.102, allocations: 0 / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/1.102, allocations: 0 / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.102, allocations: 0 / 1.324 GB, free: 23.31 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005088/1.103, allocations: 384.9 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.103, allocations: 12.64 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.908e-05/1.103, allocations: 192 / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.504e-05/1.103, allocations: 37 kB / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/1.103, allocations: 7.797 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/1.103, allocations: 185 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/1.103, allocations: 7.312 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/1.103, allocations: 6.125 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/1.103, allocations: 55.25 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.103, allocations: 0 / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.103, allocations: 0 / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/1.103, allocations: 6.234 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/1.103, allocations: 13.84 kB / 1.324 GB, free: 22.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/1.104, allocations: 305.5 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.865e-05/1.104, allocations: 25.38 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/1.104, allocations: 8.859 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/1.104, allocations: 0 / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/1.104, allocations: 58.03 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/1.104, allocations: 0 / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002418/1.104, allocations: 66.3 kB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/1.104, allocations: 51.41 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/1.104, allocations: 112.6 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/1.104, allocations: 32.2 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/1.104, allocations: 88.78 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/1.104, allocations: 11.89 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/1.105, allocations: 28.08 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.606e-05/1.105, allocations: 321 kB / 1.325 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/1.105, allocations: 25.05 kB / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/1.105, allocations: 49.59 kB / 1.325 GB, free: 21.49 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.523e-05/1.105, allocations: 90.06 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.105, allocations: 0 / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000235/1.105, allocations: 142.6 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/1.105, allocations: 40.92 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.105, allocations: 0 / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.105, allocations: 2.75 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.79e-05/1.105, allocations: 0 / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.105, allocations: 6.875 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/1.105, allocations: 28.12 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/1.105, allocations: 5.844 kB / 1.326 GB, free: 21.28 MB / 1.061 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 7.927e-05/1.105, allocations: 121.8 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-06/1.106, allocations: 7.266 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/1.106, allocations: 6.875 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.106, allocations: 320 / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.106, allocations: 4 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.106, allocations: 0 / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.692e-05/1.106, allocations: 172.5 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.106, allocations: 0 / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-06/1.106, allocations: 0 / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/1.106, allocations: 3.938 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/1.106, allocations: 6.016 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.106, allocations: 0 / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.106, allocations: 0 / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/1.106, allocations: 81.69 kB / 1.326 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/1.106, allocations: 84.53 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/1.106, allocations: 2.75 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.296e-05/1.106, allocations: 0 / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/1.106, allocations: 3.984 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/1.106, allocations: 2.875 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.792e-05/1.106, allocations: 91.69 kB / 1.326 GB, free: 20.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.106, allocations: 0 / 1.326 GB, free: 20.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002096/1.106, allocations: 21.78 kB / 1.326 GB, free: 20.66 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: 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.0003325/1.106, allocations: 0.6203 MB / 1.327 GB, free: 20.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002008/1.107, allocations: 102.7 kB / 1.327 GB, free: 19.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.107, allocations: 6.844 kB / 1.327 GB, free: 19.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.523e-05/1.107, allocations: 9.531 kB / 1.327 GB, free: 19.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/1.107, allocations: 10.45 kB / 1.327 GB, free: 19.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/1.108, allocations: 1.371 MB / 1.328 GB, free: 18.71 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/1.108, allocations: 0.6875 MB / 1.329 GB, free: 18.02 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.616e-05/1.108, allocations: 0 / 1.329 GB, free: 18.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/1.108, allocations: 14.16 kB / 1.329 GB, free: 18 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.108, allocations: 4 kB / 1.329 GB, free: 18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/1.129, allocations: 2.042 MB / 1.331 GB, free: 17.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.448/9.576, allocations: 11.03 kB / 1.331 GB, free: 17.59 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.199267968011554] Failed to read output from testmodel.py, exit status != 0: 9.7074723370024 9.729435163 8.623239444 Calling exit ...