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.001721/0.001721, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002156/0.002156, allocations: 218.6 kB / 23.03 MB, free: 4.945 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.914/2.914, allocations: 476.8 MB / 0.7715 GB, free: 3.945 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.002017/0.002017, allocations: 62.69 kB / 1.118 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3737, allocations: 170 MB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003942/0.3776, allocations: 1.788 MB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.3799, allocations: 1.116 MB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.38, allocations: 3.938 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000754/0.3808, allocations: 176.4 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.3812, allocations: 155.5 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.3816, allocations: 141.2 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.3819, allocations: 175.5 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.382, allocations: 21.3 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.3822, allocations: 79.62 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.3823, allocations: 71.75 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.3823, allocations: 8 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.3825, allocations: 71.88 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.3826, allocations: 51.83 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.3827, allocations: 43.67 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.3831, allocations: 214.7 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.3831, allocations: 0 / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3831, allocations: 0 / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.3831, allocations: 0 / 1.288 GB, free: 6.672 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.0009212/0.384, allocations: 442.8 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.384, allocations: 8.031 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.616e-05/0.3841, allocations: 4.188 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.3841, allocations: 38.73 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.3842, allocations: 16.84 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.3845, allocations: 194.1 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.3845, allocations: 8.125 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.3845, allocations: 0 / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.3848, allocations: 117.1 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3848, allocations: 4 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3848, allocations: 0 / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.3848, allocations: 7.984 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.3849, allocations: 43.91 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.3855, allocations: 307.8 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.3857, allocations: 70.67 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.178e-05/0.3858, allocations: 40.78 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.3858, allocations: 0 / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.386, allocations: 87.36 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.684e-06/0.386, allocations: 4 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003893/0.3864, allocations: 145.8 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.3865, allocations: 89.05 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.3868, allocations: 279 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3868, allocations: 25.7 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3869, allocations: 120.1 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.387, allocations: 23.8 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.387, allocations: 29.7 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3872, allocations: 326.9 kB / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/0.3873, allocations: 39.92 kB / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3874, allocations: 114.8 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3875, allocations: 77.64 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3875, allocations: 0 / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002306/0.3878, allocations: 125.5 kB / 1.291 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3878, allocations: 4 kB / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3878, allocations: 3.984 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3878, allocations: 0 / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.3879, allocations: 12 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.3879, allocations: 11.94 kB / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.388, allocations: 4 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.388, allocations: 0 / 1.291 GB, free: 3.652 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.0001532/0.3881, allocations: 147.7 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.3882, allocations: 19.86 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.3884, allocations: 127.1 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.3885, allocations: 4 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3885, allocations: 7.875 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3885, allocations: 3.984 kB / 1.291 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.3887, allocations: 188.7 kB / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3887, allocations: 3.938 kB / 1.291 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.3887, allocations: 7.938 kB / 1.291 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3887, allocations: 0 / 1.291 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3887, allocations: 4 kB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3887, allocations: 0 / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.3887, allocations: 3.938 kB / 1.291 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.389, allocations: 156.9 kB / 1.291 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.3891, allocations: 15.91 kB / 1.291 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.3891, allocations: 3.984 kB / 1.291 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.211e-05/0.3891, allocations: 8 kB / 1.291 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.3892, allocations: 15.92 kB / 1.291 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3892, allocations: 4 kB / 1.291 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000217/0.3894, allocations: 200.7 kB / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3894, allocations: 0 / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000259/0.3897, allocations: 35.92 kB / 1.292 GB, free: 2.637 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 (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.002255/0.3919, allocations: 1.034 MB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.3922, allocations: 79.84 kB / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3922, allocations: 0 / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3923, allocations: 35.98 kB / 1.293 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.3926, allocations: 47.58 kB / 1.293 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.3954, allocations: 2.008 MB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.3955, allocations: 114.7 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.058e-05/0.3956, allocations: 25.72 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3957, allocations: 51.42 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of SimCode: time 6.32e-07/0.3957, allocations: 0 / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.4235, allocations: 5.029 MB / 1.3 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.12, allocations: 8.047 kB / 1.3 GB, free: 10.38 MB / 0.9981 GB " [Timeout remaining time 288] (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.1139207809465] Failed to read output from testmodel.py, exit status != 0: 12.925075615057722 12.36913578 11.981699743 Calling exit ...