Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.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.001647/0.001647, 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.001779/0.001779, allocations: 220.9 kB / 23.05 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.639/1.639, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.942/2.942, allocations: 476.7 MB / 0.7714 GB, free: 4.328 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.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator",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.002048/0.002048, allocations: 60.61 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3947, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003366/0.398, allocations: 1.827 MB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.4001, allocations: 1.198 MB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.4002, allocations: 3.938 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.4008, allocations: 175.5 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.4012, allocations: 151.5 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.4016, allocations: 143.5 kB / 1.288 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.4019, allocations: 179.5 kB / 1.288 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.301e-05/0.402, allocations: 13.3 kB / 1.288 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.4021, allocations: 79.69 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.4023, allocations: 67.73 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.4023, allocations: 12 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.4025, allocations: 71.89 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.473e-05/0.4025, allocations: 47.83 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.384e-05/0.4026, allocations: 59.61 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.403, allocations: 222.6 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.403, allocations: 3.938 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.403, allocations: 4 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.403, allocations: 0 / 1.288 GB, free: 7.523 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009748/0.404, allocations: 426.9 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.4041, allocations: 12.03 kB / 1.289 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.51e-05/0.4041, allocations: 192 / 1.289 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.4041, allocations: 38.73 kB / 1.289 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.4042, allocations: 20.8 kB / 1.289 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.4045, allocations: 210 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.4046, allocations: 4.125 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.4046, allocations: 4 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.4048, allocations: 87.38 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4048, allocations: 0 / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4048, allocations: 0 / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.4048, allocations: 4 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.405, allocations: 35.92 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.4056, allocations: 331.8 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.4058, allocations: 66.62 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.4058, allocations: 32.84 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.4059, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.4061, allocations: 87.36 kB / 1.29 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.4061, allocations: 4 kB / 1.29 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003708/0.4064, allocations: 145.5 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/0.4065, allocations: 81.11 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.4068, allocations: 271.1 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.4069, allocations: 33.7 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.407, allocations: 116.1 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.407, allocations: 28.06 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.4071, allocations: 29.7 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4072, allocations: 330.8 kB / 1.291 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.855e-05/0.4073, allocations: 31.92 kB / 1.291 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.4074, allocations: 63.47 kB / 1.291 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.4076, allocations: 73.67 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4076, allocations: 0 / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002267/0.4078, allocations: 117.5 kB / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4078, allocations: 6.5 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4078, allocations: 0 / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.4078, allocations: 4 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.4079, allocations: 19.92 kB / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4079, allocations: 3.938 kB / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.408, allocations: 7.938 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.408, allocations: 8.031 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001548/0.4081, allocations: 138.9 kB / 1.291 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.4082, allocations: 23.84 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.4085, allocations: 123 kB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.4085, allocations: 7.984 kB / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.4085, allocations: 3.938 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4085, allocations: 0 / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.4088, allocations: 196.7 kB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4088, allocations: 4 kB / 1.291 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.4088, allocations: 12.08 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4088, allocations: 3.938 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4088, allocations: 0 / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4088, allocations: 0 / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4088, allocations: 3.938 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.4091, allocations: 148.9 kB / 1.292 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.4091, allocations: 15.91 kB / 1.292 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.4091, allocations: 4 kB / 1.292 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.4092, allocations: 4 kB / 1.292 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.4092, allocations: 15.92 kB / 1.292 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.4092, allocations: 0 / 1.292 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002451/0.4095, allocations: 200.6 kB / 1.292 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4095, allocations: 4 kB / 1.292 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002552/0.4097, allocations: 27.94 kB / 1.292 GB, free: 3.617 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002112/0.4118, allocations: 0.9988 MB / 1.293 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.4121, allocations: 67.91 kB / 1.293 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4121, allocations: 4 kB / 1.293 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.4121, allocations: 24 kB / 1.293 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.4124, allocations: 53.28 kB / 1.293 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.4149, allocations: 1.997 MB / 1.295 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.4153, allocations: 0.7241 MB / 1.296 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.706e-05/0.4153, allocations: 25.72 kB / 1.296 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.4154, allocations: 51.42 kB / 1.296 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.4154, allocations: 3.938 kB / 1.296 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.4429, allocations: 4.831 MB / 1.3 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.89, allocations: 4.062 kB / 1.3 GB, free: 10.96 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.363474094017874] Failed to read output from testmodel.py, exit status != 0: 12.83206795802107 12.150619254 11.742204059 Calling exit ...