Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001808/0.001808, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002054/0.002054, allocations: 214.9 kB / 23.03 MB, free: 4.426 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.577/3.577, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_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.001993/0.001993, allocations: 65.81 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4218, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004066/0.4258, allocations: 1.779 MB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002396/0.4282, allocations: 1.111 MB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.4284, allocations: 7.938 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007617/0.4291, allocations: 167.5 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.4296, allocations: 155.4 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.4301, allocations: 145.7 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.4304, allocations: 175.5 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.4305, allocations: 17.38 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.4307, allocations: 71.75 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.4309, allocations: 87.66 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.4309, allocations: 8 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.4311, allocations: 75.88 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.827e-05/0.4312, allocations: 43.84 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.471e-05/0.4313, allocations: 43.73 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.4317, allocations: 215 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4317, allocations: 0 / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4317, allocations: 0 / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.4317, allocations: 3.938 kB / 1.349 GB, free: 11.86 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001076/0.4328, allocations: 434.9 kB / 1.35 GB, free: 11.4 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.4329, allocations: 12.03 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.232e-05/0.4329, allocations: 8.188 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.4329, allocations: 30.75 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.433, allocations: 20.8 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.4334, allocations: 194.8 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.4334, allocations: 16.06 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.4334, allocations: 4 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.4336, allocations: 113.1 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4337, allocations: 0 / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.4337, allocations: 0 / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.4337, allocations: 8 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.4338, allocations: 39.97 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.4344, allocations: 311.8 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.4346, allocations: 70.67 kB / 1.35 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.812e-05/0.4347, allocations: 36.78 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.4347, allocations: 0 / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.4349, allocations: 87.33 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.4349, allocations: 0 / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0004007/0.4353, allocations: 153.5 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.4353, allocations: 81.09 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.4357, allocations: 279 kB / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.4357, allocations: 25.7 kB / 1.351 GB, free: 9.781 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.4358, allocations: 124.1 kB / 1.351 GB, free: 9.656 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.4358, allocations: 27.77 kB / 1.351 GB, free: 9.629 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.4359, allocations: 37.7 kB / 1.351 GB, free: 9.586 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4361, allocations: 327.1 kB / 1.352 GB, free: 9.258 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.4361, allocations: 27.98 kB / 1.352 GB, free: 9.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.4363, allocations: 118.9 kB / 1.352 GB, free: 9.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.4364, allocations: 81.56 kB / 1.352 GB, free: 9.004 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4364, allocations: 0 / 1.352 GB, free: 9.004 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002376/0.4367, allocations: 117.5 kB / 1.352 GB, free: 8.883 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4367, allocations: 4 kB / 1.352 GB, free: 8.879 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4367, allocations: 0 / 1.352 GB, free: 8.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.4367, allocations: 4 kB / 1.352 GB, free: 8.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.4368, allocations: 11.98 kB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4368, allocations: 3.938 kB / 1.352 GB, free: 8.859 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.128e-05/0.4369, allocations: 16.02 kB / 1.352 GB, free: 8.844 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.4369, allocations: 7.938 kB / 1.352 GB, free: 8.836 MB / 1.045 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.0001442/0.437, allocations: 137.8 kB / 1.352 GB, free: 8.691 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.4371, allocations: 15.91 kB / 1.352 GB, free: 8.676 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.4374, allocations: 127 kB / 1.352 GB, free: 8.547 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.4374, allocations: 8 kB / 1.352 GB, free: 8.539 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.4374, allocations: 3.938 kB / 1.352 GB, free: 8.535 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4374, allocations: 3.984 kB / 1.352 GB, free: 8.531 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.4376, allocations: 196.6 kB / 1.352 GB, free: 8.297 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4376, allocations: 4 kB / 1.352 GB, free: 8.293 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.4376, allocations: 15.86 kB / 1.352 GB, free: 8.277 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4376, allocations: 0 / 1.352 GB, free: 8.277 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.4377, allocations: 4 kB / 1.352 GB, free: 8.273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4377, allocations: 0 / 1.352 GB, free: 8.273 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4377, allocations: 3.938 kB / 1.352 GB, free: 8.27 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.4379, allocations: 149 kB / 1.353 GB, free: 8.105 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.438, allocations: 11.91 kB / 1.353 GB, free: 8.094 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.438, allocations: 4.094 kB / 1.353 GB, free: 8.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/0.438, allocations: 11.92 kB / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.4381, allocations: 11.94 kB / 1.353 GB, free: 8.066 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.4381, allocations: 7.984 kB / 1.353 GB, free: 8.059 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002155/0.4383, allocations: 204.6 kB / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4383, allocations: 0 / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000265/0.4386, allocations: 31.92 kB / 1.353 GB, free: 7.828 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: 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 (8): * Single equations (assignments): 5 * 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.002251/0.4408, allocations: 1.035 MB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.4411, allocations: 79.89 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4411, allocations: 8 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-05/0.4412, allocations: 36.14 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.4415, allocations: 44.66 kB / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.4441, allocations: 2.01 MB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.4442, allocations: 114.6 kB / 1.356 GB, free: 4.559 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.375e-05/0.4443, allocations: 25.41 kB / 1.356 GB, free: 4.531 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.4444, allocations: 51.42 kB / 1.356 GB, free: 4.48 MB / 1.045 GB Notification: Performance of SimCode: time 5.01e-07/0.4444, allocations: 0 / 1.356 GB, free: 4.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.4725, allocations: 5.027 MB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.87, allocations: 8.141 kB / 1.361 GB, free: 15.54 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.5072928260779] Failed to read output from testmodel.py, exit status != 0: 12.112883417052217 12.136298552 11.701180779 Calling exit ...