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.001619/0.001619, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001967/0.001967, allocations: 209.5 kB / 20.13 MB, free: 3.035 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 / 253.5 MB, free: 15.09 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.888/2.888, allocations: 476.7 MB / 0.7678 GB, free: 9.344 MB / 0.6075 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.002317/0.002317, allocations: 67.89 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9253/0.9277, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004165/0.9318, allocations: 1.831 MB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.9341, allocations: 1.187 MB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.9343, allocations: 1.562 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007361/0.935, allocations: 160.5 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004888/0.9355, allocations: 162.8 kB / 1.282 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.9361, allocations: 142.9 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.9364, allocations: 166.6 kB / 1.282 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.9365, allocations: 17.52 kB / 1.283 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.9367, allocations: 75.14 kB / 1.283 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.9368, allocations: 76.12 kB / 1.283 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.9368, allocations: 8.219 kB / 1.283 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.937, allocations: 67.33 kB / 1.283 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-05/0.9371, allocations: 48.2 kB / 1.283 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.969e-05/0.9372, allocations: 60.16 kB / 1.283 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.9376, allocations: 211.7 kB / 1.283 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9376, allocations: 0 / 1.283 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9376, allocations: 3.938 kB / 1.283 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.9376, allocations: 0 / 1.283 GB, free: 9.129 MB / 0.9981 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.0009412/0.9386, allocations: 0.4942 MB / 1.284 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.9386, allocations: 9.781 kB / 1.284 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.248e-05/0.9386, allocations: 5.656 kB / 1.284 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.9387, allocations: 38.84 kB / 1.284 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.9387, allocations: 20.14 kB / 1.284 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.9391, allocations: 260.2 kB / 1.284 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.9391, allocations: 5.312 kB / 1.284 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.9391, allocations: 3.938 kB / 1.284 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.9394, allocations: 94.89 kB / 1.284 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.9394, allocations: 0 / 1.284 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.9394, allocations: 2.234 kB / 1.284 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.9394, allocations: 2.797 kB / 1.284 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.9395, allocations: 36.47 kB / 1.284 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.9402, allocations: 366.7 kB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.9404, allocations: 68.34 kB / 1.284 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.357e-05/0.9405, allocations: 31.52 kB / 1.284 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.9405, allocations: 4 kB / 1.284 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.9407, allocations: 83.53 kB / 1.284 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.704e-06/0.9407, allocations: 1.375 kB / 1.284 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0003854/0.9411, allocations: 144.8 kB / 1.285 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.9411, allocations: 82.42 kB / 1.285 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.9414, allocations: 269.4 kB / 1.285 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.9415, allocations: 31.86 kB / 1.285 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.9416, allocations: 121.1 kB / 1.285 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.9416, allocations: 21.66 kB / 1.285 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.9417, allocations: 29.17 kB / 1.285 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.9418, allocations: 330.3 kB / 1.285 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.9419, allocations: 26.91 kB / 1.286 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.835e-05/0.942, allocations: 58.38 kB / 1.286 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.9421, allocations: 77.3 kB / 1.286 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9421, allocations: 0 / 1.286 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002204/0.9423, allocations: 120.3 kB / 1.286 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.9423, allocations: 4.828 kB / 1.286 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.9424, allocations: 5.094 kB / 1.286 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.9424, allocations: 5.062 kB / 1.286 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.9425, allocations: 15.52 kB / 1.286 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.9425, allocations: 5.031 kB / 1.286 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.9425, allocations: 12.72 kB / 1.286 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.9425, allocations: 3.078 kB / 1.286 GB, free: 6.812 MB / 0.9981 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.0001514/0.9427, allocations: 149.5 kB / 1.286 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.9427, allocations: 20.19 kB / 1.286 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.9428, allocations: 17.84 kB / 1.286 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.9428, allocations: 7.391 kB / 1.286 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.9428, allocations: 5.578 kB / 1.286 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.9428, allocations: 0 / 1.286 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.943, allocations: 230 kB / 1.286 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.943, allocations: 0 / 1.286 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.9431, allocations: 5.047 kB / 1.286 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9431, allocations: 0 / 1.286 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.9431, allocations: 1.797 kB / 1.286 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.9431, allocations: 1.609 kB / 1.286 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.9431, allocations: 3.938 kB / 1.286 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.9433, allocations: 145.8 kB / 1.286 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.9434, allocations: 102.3 kB / 1.286 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.9434, allocations: 2.219 kB / 1.286 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.054e-05/0.9435, allocations: 4.672 kB / 1.286 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.9435, allocations: 12.56 kB / 1.286 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.9435, allocations: 4.25 kB / 1.286 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002557/0.9438, allocations: 201.5 kB / 1.287 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9438, allocations: 0 / 1.287 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002624/0.9441, allocations: 29.81 kB / 1.287 GB, free: 6.082 MB / 0.9981 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.002098/0.9462, allocations: 0.9989 MB / 1.288 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.9464, allocations: 68.92 kB / 1.288 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9464, allocations: 0 / 1.288 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.9465, allocations: 35.77 kB / 1.288 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.9468, allocations: 51.48 kB / 1.288 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.9495, allocations: 2.004 MB / 1.29 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.9499, allocations: 0.7238 MB / 1.29 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.49e-05/0.95, allocations: 27.95 kB / 1.291 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.9501, allocations: 48.39 kB / 1.291 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of SimCode: time 6.92e-07/0.9501, allocations: 1.281 kB / 1.291 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.9739, allocations: 4.676 MB / 1.295 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.901/9.875, allocations: 6.328 kB / 1.295 GB, free: 2.242 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.43233183096163] Failed to read output from testmodel.py, exit status != 0: 10.062703883042559 10.08343696 9.141902367 Calling exit ...