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.001354/0.001354, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001686/0.001686, allocations: 213.9 kB / 22.25 MB, free: 5.262 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.801 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.003718/0.003718, allocations: 292.1 kB / 312.7 MB, free: 2.617 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.238/1.238, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="me",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.003881/0.003881, allocations: 109.4 kB / 0.7395 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1892, allocations: 95.38 MB / 0.8326 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.00359/0.1928, allocations: 1.794 MB / 0.8344 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.195, allocations: 1.123 MB / 0.8355 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1951, allocations: 0 / 0.8355 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006856/0.1958, allocations: 171.5 kB / 0.8357 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.1963, allocations: 155.4 kB / 0.8358 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.1967, allocations: 140.2 kB / 0.8359 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.197, allocations: 167.6 kB / 0.8361 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1971, allocations: 21.08 kB / 0.8361 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.1972, allocations: 79.62 kB / 0.8362 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1974, allocations: 75.67 kB / 0.8363 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.1974, allocations: 8 kB / 0.8363 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.1976, allocations: 67.95 kB / 0.8363 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.036e-05/0.1976, allocations: 47.83 kB / 0.8364 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.492e-05/0.1977, allocations: 47.67 kB / 0.8364 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.1981, allocations: 211.5 kB / 0.8366 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/0.1981, allocations: 0 / 0.8366 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1981, allocations: 0 / 0.8366 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.1981, allocations: 0 / 0.8366 GB, free: 4.199 MB / 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.0008223/0.1989, allocations: 442.7 kB / 0.8371 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.199, allocations: 13.34 kB / 0.8371 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.199, allocations: 34.75 kB / 0.8371 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.1991, allocations: 16.84 kB / 0.8371 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.1994, allocations: 190.2 kB / 0.8373 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1994, allocations: 4.375 kB / 0.8373 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.1994, allocations: 15.88 kB / 0.8373 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1996, allocations: 77.59 kB / 0.8374 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1996, allocations: 0 / 0.8374 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1997, allocations: 3.938 kB / 0.8374 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.1997, allocations: 4 kB / 0.8374 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1998, allocations: 35.98 kB / 0.8374 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.2003, allocations: 319.7 kB / 0.8377 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.2006, allocations: 74.61 kB / 0.8378 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.2007, allocations: 36.84 kB / 0.8378 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.2007, allocations: 0 / 0.8378 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.2009, allocations: 83.38 kB / 0.8379 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.2009, allocations: 3.938 kB / 0.8379 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003718/0.2013, allocations: 141.6 kB / 0.8381 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.2013, allocations: 55.41 kB / 0.8381 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.2016, allocations: 275.1 kB / 0.8384 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.2017, allocations: 33.64 kB / 0.8384 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.736e-05/0.2018, allocations: 124.1 kB / 0.8385 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.2019, allocations: 27.8 kB / 0.8386 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.2019, allocations: 33.69 kB / 0.8386 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.2021, allocations: 334.8 kB / 0.8389 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.402e-05/0.2022, allocations: 23.98 kB / 0.8389 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.2023, allocations: 80.27 kB / 0.839 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.2025, allocations: 81.94 kB / 0.8391 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2025, allocations: 0 / 0.8391 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002377/0.2027, allocations: 121.5 kB / 0.8392 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2027, allocations: 4 kB / 0.8392 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.2027, allocations: 4.062 kB / 0.8392 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2027, allocations: 4 kB / 0.8392 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.885e-05/0.2028, allocations: 8 kB / 0.8392 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2028, allocations: 112 / 0.8392 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.2029, allocations: 23.81 kB / 0.8392 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2029, allocations: 4 kB / 0.8392 GB, free: 1.297 MB / 0.5762 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.0001468/0.203, allocations: 143 kB / 0.8394 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.2031, allocations: 15.91 kB / 0.8394 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.2034, allocations: 131 kB / 0.8395 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.2034, allocations: 7.984 kB / 0.8395 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2034, allocations: 0 / 0.8395 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2034, allocations: 3.938 kB / 0.8395 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.2036, allocations: 196.6 kB / 0.8397 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2036, allocations: 0 / 0.8397 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.2036, allocations: 4 kB / 0.8397 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2036, allocations: 0 / 0.8397 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2037, allocations: 4 kB / 0.8397 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2037, allocations: 0 / 0.8397 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2037, allocations: 0 / 0.8397 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.2039, allocations: 164.8 kB / 0.8399 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.204, allocations: 15.89 kB / 0.8399 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.204, allocations: 4 kB / 0.8399 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.198e-05/0.204, allocations: 4 kB / 0.8399 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.2041, allocations: 11.92 kB / 0.8399 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.2041, allocations: 0 / 0.8399 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002399/0.2043, allocations: 203.2 kB / 0.8401 GB, free: 336 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2043, allocations: 0 / 0.8401 GB, free: 336 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002655/0.2046, allocations: 31.89 kB / 0.8401 GB, free: 304 kB / 0.5762 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.002208/0.2068, allocations: 1.038 MB / 0.8412 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.2071, allocations: 75.95 kB / 0.8412 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2071, allocations: 0 / 0.8412 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.274e-05/0.2072, allocations: 35.92 kB / 0.8413 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.2075, allocations: 52.53 kB / 0.8413 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.2103, allocations: 2.01 MB / 0.8433 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.2104, allocations: 118.6 kB / 0.8434 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.416e-05/0.2105, allocations: 17.42 kB / 0.8434 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2106, allocations: 51.42 kB / 0.8435 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.2106, allocations: 0 / 0.8435 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03529/0.2459, allocations: 5.301 MB / 0.8486 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.59, allocations: 7.156 kB / 0.8486 GB, free: 7.746 MB / 0.5919 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 15.930995518807322] Failed to read output from testmodel.py, exit status != 0: 11.748889763839543 11.775110458 11.573049846 Calling exit ...