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.001307/0.001307, 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.00157/0.00157, allocations: 218.8 kB / 23.04 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.552/1.552, 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.346/3.346, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.002055/0.002055, allocations: 64.92 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4409, allocations: 179 MB / 1.345 GB, free: 480 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003582/0.4445, allocations: 1.828 MB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.4467, allocations: 1.207 MB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.4468, allocations: 3.938 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000763/0.4476, allocations: 168.5 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004731/0.448, allocations: 155.5 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.4485, allocations: 142.7 kB / 1.349 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.4488, allocations: 175.5 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.449, allocations: 25.34 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.4491, allocations: 75.7 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.4493, allocations: 79.67 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.4493, allocations: 8 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.4495, allocations: 75.94 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.517e-05/0.4496, allocations: 39.84 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.496e-05/0.4497, allocations: 67.59 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.45, allocations: 207.1 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.45, allocations: 3.938 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.284e-06/0.45, allocations: 0 / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.4501, allocations: 0 / 1.349 GB, free: 12.21 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.0009628/0.451, allocations: 430.9 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.4511, allocations: 8.031 kB / 1.35 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.397e-05/0.4511, allocations: 4.188 kB / 1.35 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.4511, allocations: 38.73 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.4512, allocations: 20.8 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.4515, allocations: 190.8 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.4515, allocations: 12.12 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.4516, allocations: 7.984 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.4518, allocations: 91.31 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4518, allocations: 3.938 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4518, allocations: 4 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.4518, allocations: 7.984 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.4519, allocations: 31.98 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.4525, allocations: 311.8 kB / 1.351 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.4527, allocations: 78.61 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.691e-05/0.4527, allocations: 28.84 kB / 1.351 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.4527, allocations: 4 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.4529, allocations: 83.33 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.4529, allocations: 4 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0003656/0.4533, allocations: 145.4 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.4534, allocations: 77.11 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.4537, allocations: 283 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.4537, allocations: 29.69 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4538, allocations: 120.1 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.4538, allocations: 27.8 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.4539, allocations: 33.7 kB / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4541, allocations: 330.8 kB / 1.352 GB, free: 9.648 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.4541, allocations: 27.94 kB / 1.352 GB, free: 9.621 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.4542, allocations: 59.41 kB / 1.352 GB, free: 9.551 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.4544, allocations: 69.7 kB / 1.352 GB, free: 9.477 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4544, allocations: 0 / 1.352 GB, free: 9.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002183/0.4546, allocations: 121.5 kB / 1.352 GB, free: 9.352 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4546, allocations: 5.984 kB / 1.352 GB, free: 9.348 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.4546, allocations: 7.938 kB / 1.352 GB, free: 9.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4547, allocations: 7.922 kB / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.4547, allocations: 15.98 kB / 1.352 GB, free: 9.316 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.4548, allocations: 3.938 kB / 1.352 GB, free: 9.312 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.4548, allocations: 7.953 kB / 1.352 GB, free: 9.305 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.4548, allocations: 4 kB / 1.352 GB, free: 9.301 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.000157/0.455, allocations: 141.9 kB / 1.352 GB, free: 9.152 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.455, allocations: 20.28 kB / 1.352 GB, free: 9.133 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.4553, allocations: 138.8 kB / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.4553, allocations: 0 / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4553, allocations: 7.938 kB / 1.352 GB, free: 8.984 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4553, allocations: 0 / 1.352 GB, free: 8.984 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.4556, allocations: 188.7 kB / 1.353 GB, free: 8.758 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.4556, allocations: 0 / 1.353 GB, free: 8.758 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.4556, allocations: 4 kB / 1.353 GB, free: 8.754 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4556, allocations: 0 / 1.353 GB, free: 8.754 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.4556, allocations: 11.98 kB / 1.353 GB, free: 8.742 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4556, allocations: 0 / 1.353 GB, free: 8.742 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4556, allocations: 3.938 kB / 1.353 GB, free: 8.738 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.4559, allocations: 144.9 kB / 1.353 GB, free: 8.578 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.4559, allocations: 19.89 kB / 1.353 GB, free: 8.559 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.4559, allocations: 0 / 1.353 GB, free: 8.559 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/0.456, allocations: 4 kB / 1.353 GB, free: 8.555 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.456, allocations: 11.92 kB / 1.353 GB, free: 8.543 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.456, allocations: 7.984 kB / 1.353 GB, free: 8.535 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002226/0.4563, allocations: 204.6 kB / 1.353 GB, free: 8.336 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4563, allocations: 0 / 1.353 GB, free: 8.336 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002548/0.4565, allocations: 31.94 kB / 1.353 GB, free: 8.305 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 (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.00206/0.4586, allocations: 0.9985 MB / 1.354 GB, free: 7.434 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.4588, allocations: 71.89 kB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4588, allocations: 0 / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.684e-05/0.4589, allocations: 35.92 kB / 1.354 GB, free: 7.328 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.4592, allocations: 41.5 kB / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.4616, allocations: 2.005 MB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.462, allocations: 0.7241 MB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.96e-05/0.4621, allocations: 21.73 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.4622, allocations: 51.42 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.4622, allocations: 0 / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.4896, allocations: 4.829 MB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.88, allocations: 4.062 kB / 1.362 GB, free: 15.64 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.072324384003878] Failed to read output from testmodel.py, exit status != 0: 12.1140283329878 12.138152277 11.683712025 Calling exit ...