Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001434/0.001434, allocations: 116.8 kB / 17.17 MB, free: 6 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.001713/0.001713, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002563/0.002563, allocations: 287.5 kB / 309.8 MB, free: 3.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.116/1.116, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002801/0.002801, allocations: 99.84 kB / 0.7347 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5631/0.5659, allocations: 95.34 MB / 0.8278 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003432/0.5693, allocations: 1.83 MB / 0.8296 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.5709, allocations: 1.175 MB / 0.8307 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.831e-05/0.571, allocations: 6.781 kB / 0.8307 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.5716, allocations: 165.6 kB / 0.8309 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.572, allocations: 158.3 kB / 0.831 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.5723, allocations: 135.2 kB / 0.8312 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.5726, allocations: 177.8 kB / 0.8313 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.5727, allocations: 15.58 kB / 0.8314 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.5728, allocations: 76.83 kB / 0.8314 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.5729, allocations: 81.67 kB / 0.8315 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.5729, allocations: 7.875 kB / 0.8315 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.5731, allocations: 67.72 kB / 0.8316 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.5731, allocations: 47.11 kB / 0.8316 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.5732, allocations: 59.89 kB / 0.8317 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.5735, allocations: 206 kB / 0.8319 GB, free: 480 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.5735, allocations: 3.938 kB / 0.8319 GB, free: 476 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5735, allocations: 0 / 0.8319 GB, free: 476 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5735, allocations: 0 / 0.8319 GB, free: 476 kB / 0.5762 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.0007289/0.5743, allocations: 0.5061 MB / 0.8324 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5743, allocations: 9.906 kB / 0.8324 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.752e-05/0.5743, allocations: 1.438 kB / 0.8324 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/0.5744, allocations: 35.05 kB / 0.8324 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.5744, allocations: 17.23 kB / 0.8324 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.5748, allocations: 254.6 kB / 0.8327 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.5748, allocations: 9.203 kB / 0.8327 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.5748, allocations: 5.766 kB / 0.8327 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.5751, allocations: 96.2 kB / 0.8328 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5751, allocations: 0 / 0.8328 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.5751, allocations: 1.125 kB / 0.8328 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.5751, allocations: 2.625 kB / 0.8328 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.94e-05/0.5752, allocations: 37.58 kB / 0.8328 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.5758, allocations: 354.5 kB / 0.8332 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.576, allocations: 74.42 kB / 0.8332 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.186e-05/0.5761, allocations: 31.62 kB / 0.8333 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.5761, allocations: 2.594 kB / 0.8333 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.5763, allocations: 82.78 kB / 0.8333 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.5763, allocations: 7.938 kB / 0.8333 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.000378/0.5766, allocations: 143.3 kB / 0.8335 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.5767, allocations: 81.62 kB / 0.8336 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.577, allocations: 273.3 kB / 0.8338 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.577, allocations: 25.7 kB / 0.8338 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.5771, allocations: 116.8 kB / 0.834 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.5772, allocations: 21.91 kB / 0.834 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.5772, allocations: 29.02 kB / 0.834 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5774, allocations: 340.3 kB / 0.8343 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.5774, allocations: 29.81 kB / 0.8344 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-05/0.5775, allocations: 57.5 kB / 0.8344 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.5777, allocations: 73.64 kB / 0.8345 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5777, allocations: 0 / 0.8345 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000221/0.5779, allocations: 127.2 kB / 0.8346 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.5779, allocations: 6.406 kB / 0.8346 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.5779, allocations: 0 / 0.8346 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.5779, allocations: 1.875 kB / 0.8346 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.578, allocations: 14.66 kB / 0.8346 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.578, allocations: 3.938 kB / 0.8346 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.5781, allocations: 12.97 kB / 0.8346 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.5781, allocations: 0 / 0.8346 GB, free: 14.14 MB / 0.5919 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.0001379/0.5782, allocations: 150.6 kB / 0.8348 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.5782, allocations: 18.25 kB / 0.8348 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.5783, allocations: 22.14 kB / 0.8348 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.5783, allocations: 0.6094 kB / 0.8348 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5783, allocations: 0 / 0.8348 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5783, allocations: 0.75 kB / 0.8348 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.5785, allocations: 225.4 kB / 0.835 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5785, allocations: 0 / 0.835 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.5786, allocations: 9.75 kB / 0.8351 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5786, allocations: 0 / 0.8351 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.5786, allocations: 6.812 kB / 0.8351 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5786, allocations: 0 / 0.8351 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5786, allocations: 0 / 0.8351 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.5788, allocations: 153.8 kB / 0.8352 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.5789, allocations: 102.6 kB / 0.8353 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.5789, allocations: 2.312 kB / 0.8353 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.097e-05/0.579, allocations: 4.328 kB / 0.8353 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.579, allocations: 5 kB / 0.8353 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.579, allocations: 11.58 kB / 0.8353 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002326/0.5793, allocations: 202.6 kB / 0.8355 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5793, allocations: 2.125 kB / 0.8355 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002517/0.5795, allocations: 31.09 kB / 0.8355 GB, free: 13.42 MB / 0.5919 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.002049/0.5816, allocations: 0.9963 MB / 0.8365 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.5818, allocations: 68.52 kB / 0.8366 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5818, allocations: 3.938 kB / 0.8366 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/0.5819, allocations: 36.14 kB / 0.8366 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.5822, allocations: 42.08 kB / 0.8367 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.5847, allocations: 1.996 MB / 0.8386 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.585, allocations: 0.7245 MB / 0.8393 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.866e-05/0.5851, allocations: 23.61 kB / 0.8393 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.979e-05/0.5852, allocations: 48.41 kB / 0.8394 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.5852, allocations: 6 kB / 0.8394 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.6072, allocations: 4.681 MB / 0.844 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/9.015, allocations: 7.719 kB / 0.844 GB, free: 9.609 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.274991201004013] Failed to read output from testmodel.py, exit status != 0: 9.198693029000424 9.214410142 8.63773777 Calling exit ...