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.001331/0.001331, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001338/0.001338, allocations: 215 kB / 20.13 MB, free: 2.949 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.592/1.592, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.445/3.445, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 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.002226/0.002226, allocations: 67.89 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.124, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003346/1.128, allocations: 1.819 MB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00188/1.129, allocations: 1.19 MB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/1.13, allocations: 5.906 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006819/1.13, allocations: 159.5 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004295/1.131, allocations: 160.6 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/1.131, allocations: 139.7 kB / 1.344 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/1.131, allocations: 178.2 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/1.132, allocations: 12.78 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/1.132, allocations: 74.92 kB / 1.344 GB, free: 13.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/1.132, allocations: 72.31 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/1.132, allocations: 8.25 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/1.132, allocations: 74.8 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.644e-05/1.132, allocations: 44.48 kB / 1.344 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.384e-05/1.132, allocations: 64.16 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003499/1.132, allocations: 207.8 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.132, allocations: 1.312 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/1.132, allocations: 0 / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.306e-05/1.132, allocations: 0 / 1.344 GB, free: 13.64 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007594/1.133, allocations: 0.4953 MB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.133, allocations: 10.39 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.317e-05/1.133, allocations: 5.219 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/1.133, allocations: 33.59 kB / 1.345 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/1.133, allocations: 22.48 kB / 1.345 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/1.134, allocations: 253.6 kB / 1.345 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/1.134, allocations: 15.28 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/1.134, allocations: 2.75 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/1.134, allocations: 91.69 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/1.134, allocations: 4 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/1.134, allocations: 1.875 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/1.134, allocations: 3.109 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/1.134, allocations: 35.98 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/1.135, allocations: 350.4 kB / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/1.135, allocations: 72.78 kB / 1.346 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/1.135, allocations: 38.28 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/1.135, allocations: 2.438 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/1.135, allocations: 82.69 kB / 1.346 GB, free: 12.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/1.135, allocations: 1.094 kB / 1.346 GB, free: 12.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0003759/1.135, allocations: 141.7 kB / 1.346 GB, free: 12.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/1.135, allocations: 82.52 kB / 1.346 GB, free: 12.17 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/1.136, allocations: 280 kB / 1.346 GB, free: 12.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/1.136, allocations: 27.14 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/1.136, allocations: 124.6 kB / 1.346 GB, free: 11.87 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/1.136, allocations: 22.27 kB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/1.136, allocations: 28.73 kB / 1.346 GB, free: 11.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.033e-05/1.136, allocations: 330.4 kB / 1.347 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/1.136, allocations: 26.03 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.743e-05/1.136, allocations: 63 kB / 1.347 GB, free: 11.45 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/1.136, allocations: 69.67 kB / 1.347 GB, free: 11.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.136, allocations: 1.375 kB / 1.347 GB, free: 11.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001946/1.136, allocations: 119 kB / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.137, allocations: 11.62 kB / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.137, allocations: 0 / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/1.137, allocations: 6 kB / 1.347 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/1.137, allocations: 15.44 kB / 1.347 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.137, allocations: 3.938 kB / 1.347 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/1.137, allocations: 21.52 kB / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/1.137, allocations: 2.75 kB / 1.347 GB, free: 11.32 MB / 1.061 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.0001118/1.137, allocations: 140.5 kB / 1.347 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/1.137, allocations: 16.16 kB / 1.347 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/1.137, allocations: 19.11 kB / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/1.137, allocations: 7.406 kB / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.137, allocations: 4.594 kB / 1.347 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.137, allocations: 0 / 1.347 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/1.137, allocations: 225.6 kB / 1.347 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.137, allocations: 1.375 kB / 1.347 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/1.137, allocations: 3.5 kB / 1.347 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.137, allocations: 1.375 kB / 1.347 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/1.137, allocations: 1.938 kB / 1.347 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.137, allocations: 0.7031 kB / 1.347 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.137, allocations: 11.86 kB / 1.347 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/1.137, allocations: 148.9 kB / 1.348 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/1.137, allocations: 99.98 kB / 1.348 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/1.137, allocations: 2.484 kB / 1.348 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/1.138, allocations: 3.734 kB / 1.348 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/1.138, allocations: 8.906 kB / 1.348 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/1.138, allocations: 7.469 kB / 1.348 GB, free: 10.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001954/1.138, allocations: 198.6 kB / 1.348 GB, free: 10.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.138, allocations: 4 kB / 1.348 GB, free: 10.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002657/1.138, allocations: 33.02 kB / 1.348 GB, free: 10.61 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: 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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.001892/1.14, allocations: 0.9992 MB / 1.349 GB, free: 9.871 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002567/1.14, allocations: 78.23 kB / 1.349 GB, free: 9.844 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.14, allocations: 0 / 1.349 GB, free: 9.844 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/1.14, allocations: 35.3 kB / 1.349 GB, free: 9.832 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/1.141, allocations: 42.39 kB / 1.349 GB, free: 9.816 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/1.143, allocations: 1.985 MB / 1.351 GB, free: 8.402 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/1.143, allocations: 0.7323 MB / 1.352 GB, free: 7.695 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.546e-05/1.143, allocations: 22.81 kB / 1.352 GB, free: 7.691 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/1.143, allocations: 50.03 kB / 1.352 GB, free: 7.656 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/1.143, allocations: 3.938 kB / 1.352 GB, free: 7.652 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/1.17, allocations: 4.685 MB / 1.356 GB, free: 6.762 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/9.654, allocations: 6.781 kB / 1.356 GB, free: 6.758 MB / 1.061 GB " [Timeout remaining time 290] (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: 17.14474684599554] Failed to read output from testmodel.py, exit status != 0: 9.843774922017474 9.859631997 8.724532263 Calling exit ...