Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001335/0.001335, allocations: 119 kB / 19.69 MB, free: 2.199 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.001692/0.001692, allocations: 224.5 kB / 23.01 MB, free: 5.047 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9561/0.9561, allocations: 150 MB / 463.2 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002297/0.002297, allocations: 66.69 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1858, allocations: 89.17 MB / 0.7284 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003744/0.1895, allocations: 1.826 MB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.1918, allocations: 1.195 MB / 0.7313 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.192, allocations: 7.938 kB / 0.7313 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.1927, allocations: 175.5 kB / 0.7315 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004867/0.1932, allocations: 155.4 kB / 0.7316 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.1936, allocations: 139.7 kB / 0.7318 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.1939, allocations: 179.5 kB / 0.7319 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1941, allocations: 21.28 kB / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1942, allocations: 71.7 kB / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.1944, allocations: 75.67 kB / 0.7321 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.1944, allocations: 8 kB / 0.7321 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.1946, allocations: 75.94 kB / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.1947, allocations: 43.84 kB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.1948, allocations: 67.53 kB / 0.7323 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.1951, allocations: 199.5 kB / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1951, allocations: 0 / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1951, allocations: 0 / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.1951, allocations: 0 / 0.7325 GB, free: 13.05 MB / 0.5606 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.0007768/0.1959, allocations: 442.8 kB / 0.7329 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1959, allocations: 8.031 kB / 0.7329 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.196, allocations: 38.69 kB / 0.7329 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.196, allocations: 24.78 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.1964, allocations: 190.2 kB / 0.7331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1964, allocations: 384 / 0.7331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1964, allocations: 11.92 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1966, allocations: 91.31 kB / 0.7332 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1966, allocations: 0 / 0.7332 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1966, allocations: 0 / 0.7332 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.1966, allocations: 11.92 kB / 0.7333 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1967, allocations: 31.98 kB / 0.7333 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.1973, allocations: 323.8 kB / 0.7336 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.1975, allocations: 70.61 kB / 0.7337 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.352e-05/0.1975, allocations: 32.84 kB / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1976, allocations: 0 / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.1977, allocations: 87.38 kB / 0.7338 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.1977, allocations: 0 / 0.7338 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003562/0.1981, allocations: 149.4 kB / 0.7339 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.1982, allocations: 81.11 kB / 0.734 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.1985, allocations: 271.1 kB / 0.7343 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.1985, allocations: 37.69 kB / 0.7343 GB, free: 11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.824e-05/0.1986, allocations: 116.1 kB / 0.7344 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.1986, allocations: 27.8 kB / 0.7344 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.1987, allocations: 29.7 kB / 0.7345 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1988, allocations: 330.8 kB / 0.7348 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.1989, allocations: 24 kB / 0.7348 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.199, allocations: 59.41 kB / 0.7348 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1991, allocations: 73.67 kB / 0.7349 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1991, allocations: 0 / 0.7349 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002194/0.1993, allocations: 121.5 kB / 0.735 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1994, allocations: 4 kB / 0.735 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1994, allocations: 0 / 0.735 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1994, allocations: 4 kB / 0.735 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.1995, allocations: 11.98 kB / 0.7351 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1995, allocations: 0 / 0.7351 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.1995, allocations: 12.05 kB / 0.7351 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1995, allocations: 7.969 kB / 0.7351 GB, free: 10.15 MB / 0.5606 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.0001377/0.1997, allocations: 145.8 kB / 0.7352 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1997, allocations: 19.86 kB / 0.7352 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.2, allocations: 131.3 kB / 0.7354 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.2, allocations: 7.984 kB / 0.7354 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2, allocations: 0 / 0.7354 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2, allocations: 7.938 kB / 0.7354 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.2002, allocations: 196.6 kB / 0.7356 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2002, allocations: 4 kB / 0.7356 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.2002, allocations: 4 kB / 0.7356 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2002, allocations: 3.984 kB / 0.7356 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2002, allocations: 3.984 kB / 0.7356 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2002, allocations: 0 / 0.7356 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2002, allocations: 3.938 kB / 0.7356 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.2005, allocations: 144.9 kB / 0.7357 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.2005, allocations: 19.89 kB / 0.7357 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.2005, allocations: 8 kB / 0.7357 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.75e-05/0.2006, allocations: 0 / 0.7357 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.2006, allocations: 15.92 kB / 0.7358 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2007, allocations: 3.984 kB / 0.7358 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002077/0.2009, allocations: 212.5 kB / 0.736 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2009, allocations: 3.938 kB / 0.736 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002518/0.2011, allocations: 27.94 kB / 0.736 GB, free: 9.133 MB / 0.5606 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 (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.002042/0.2032, allocations: 0.9959 MB / 0.737 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.2034, allocations: 67.91 kB / 0.737 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2034, allocations: 0 / 0.737 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.511e-05/0.2035, allocations: 35.92 kB / 0.7371 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.2038, allocations: 37.39 kB / 0.7371 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.2062, allocations: 1.993 MB / 0.739 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.2066, allocations: 0.7241 MB / 0.7398 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.017e-05/0.2066, allocations: 25.72 kB / 0.7398 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.2067, allocations: 51.42 kB / 0.7398 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2067, allocations: 0 / 0.7398 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.2409, allocations: 4.793 MB / 0.7445 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.32, allocations: 10.67 kB / 0.7445 GB, free: 0.5508 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.172970097046345] Failed to read output from testmodel.py, exit status != 0: 11.498139658011496 11.52997702 11.32937909 Calling exit ...