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.001443/0.001443, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001744/0.001744, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.535/1.535, 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/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.9976/0.9976, allocations: 149.9 MB / 463.1 MB, free: 10.36 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.002111/0.002111, allocations: 74.72 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1904, allocations: 89.17 MB / 0.7282 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003594/0.194, allocations: 1.785 MB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002202/0.1962, allocations: 1.115 MB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.1963, allocations: 0 / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008198/0.1971, allocations: 174.3 kB / 0.7312 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004651/0.1976, allocations: 155.5 kB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.198, allocations: 139.6 kB / 0.7314 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.1983, allocations: 175.5 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1984, allocations: 9.312 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1985, allocations: 79.69 kB / 0.7317 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1987, allocations: 87.59 kB / 0.7318 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.1987, allocations: 8 kB / 0.7318 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.1989, allocations: 67.94 kB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.199, allocations: 43.84 kB / 0.7319 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.199, allocations: 47.73 kB / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1994, allocations: 211.3 kB / 0.7321 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1994, allocations: 0 / 0.7321 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1994, allocations: 0 / 0.7321 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.1994, allocations: 0 / 0.7321 GB, free: 12.93 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.0008021/0.2002, allocations: 426.9 kB / 0.7325 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2002, allocations: 16.02 kB / 0.7326 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.2003, allocations: 38.75 kB / 0.7326 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.2003, allocations: 24.73 kB / 0.7326 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.2006, allocations: 182.3 kB / 0.7328 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2007, allocations: 384 / 0.7328 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.2007, allocations: 11.94 kB / 0.7328 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.2009, allocations: 77.55 kB / 0.7329 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2009, allocations: 0 / 0.7329 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.2009, allocations: 3.984 kB / 0.7329 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.2009, allocations: 4 kB / 0.7329 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.201, allocations: 47.91 kB / 0.7329 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.2015, allocations: 315.8 kB / 0.7332 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.2018, allocations: 74.61 kB / 0.7333 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.446e-05/0.2018, allocations: 32.84 kB / 0.7333 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.2018, allocations: 0 / 0.7333 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.202, allocations: 83.38 kB / 0.7334 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.202, allocations: 0 / 0.7334 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003992/0.2024, allocations: 153.4 kB / 0.7336 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.2025, allocations: 55.41 kB / 0.7336 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.2028, allocations: 279.1 kB / 0.7339 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2028, allocations: 29.7 kB / 0.7339 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.2029, allocations: 120.1 kB / 0.734 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.2029, allocations: 27.78 kB / 0.734 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.203, allocations: 25.7 kB / 0.7341 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.2032, allocations: 326.8 kB / 0.7344 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/0.2033, allocations: 31.98 kB / 0.7344 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.2034, allocations: 88.19 kB / 0.7345 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.2035, allocations: 78.05 kB / 0.7346 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2035, allocations: 0 / 0.7346 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002261/0.2038, allocations: 121.5 kB / 0.7347 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2038, allocations: 5.516 kB / 0.7347 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2038, allocations: 3.938 kB / 0.7347 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2038, allocations: 0 / 0.7347 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.2039, allocations: 19.92 kB / 0.7347 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2039, allocations: 0 / 0.7347 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.204, allocations: 11.94 kB / 0.7347 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.204, allocations: 8.031 kB / 0.7347 GB, free: 10.04 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.000144/0.2041, allocations: 145.8 kB / 0.7349 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.2041, allocations: 19.86 kB / 0.7349 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.2044, allocations: 131.1 kB / 0.735 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.2044, allocations: 0 / 0.735 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2044, allocations: 0 / 0.735 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2044, allocations: 7.938 kB / 0.735 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.2047, allocations: 196.6 kB / 0.7352 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2047, allocations: 0 / 0.7352 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.2047, allocations: 4 kB / 0.7352 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2047, allocations: 4 kB / 0.7352 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.2047, allocations: 0 / 0.7352 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2047, allocations: 4 kB / 0.7352 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2047, allocations: 0 / 0.7352 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.205, allocations: 160.1 kB / 0.7354 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.205, allocations: 15.91 kB / 0.7354 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.205, allocations: 4 kB / 0.7354 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.2051, allocations: 7.984 kB / 0.7354 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.2051, allocations: 11.86 kB / 0.7354 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.2051, allocations: 8 kB / 0.7354 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002118/0.2053, allocations: 208.6 kB / 0.7356 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2053, allocations: 0 / 0.7356 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002493/0.2056, allocations: 35.92 kB / 0.7357 GB, free: 9.027 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 (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.002163/0.2078, allocations: 1.018 MB / 0.7367 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.208, allocations: 83.88 kB / 0.7367 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.208, allocations: 0 / 0.7367 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/0.2081, allocations: 40.05 kB / 0.7368 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.2084, allocations: 42.94 kB / 0.7368 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.2109, allocations: 2.014 MB / 0.7388 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.211, allocations: 114.6 kB / 0.7389 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.843e-05/0.2111, allocations: 29.72 kB / 0.7389 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.2113, allocations: 47.42 kB / 0.739 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.2113, allocations: 0 / 0.739 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.2459, allocations: 5.267 MB / 0.7441 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.43, allocations: 11.45 kB / 0.7441 GB, free: 0.5391 MB / 0.5606 GB " [Timeout remaining time 648] (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.408175716176629] Failed to read output from testmodel.py, exit status != 0: 11.596400720067322 11.61195913 11.409417085 Calling exit ...