Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001719/0.001719, 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.001807/0.001807, allocations: 209.3 kB / 22.24 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9165/0.9165, allocations: 145 MB / 457.4 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.001932/0.001932, allocations: 66.38 kB / 0.6331 GB, free: 6.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1832, allocations: 87.89 MB / 0.7189 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.00404/0.1872, allocations: 1.788 MB / 0.7207 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1894, allocations: 1.116 MB / 0.7218 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1895, allocations: 0 / 0.7218 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006815/0.1902, allocations: 167.5 kB / 0.7219 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004403/0.1906, allocations: 167.4 kB / 0.7221 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.1911, allocations: 135.6 kB / 0.7222 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.1913, allocations: 171.5 kB / 0.7224 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1914, allocations: 25.28 kB / 0.7224 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1915, allocations: 63.72 kB / 0.7225 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.1917, allocations: 87.59 kB / 0.7225 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.1917, allocations: 8 kB / 0.7225 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.1919, allocations: 71.94 kB / 0.7226 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.196e-05/0.192, allocations: 39.91 kB / 0.7227 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.31e-05/0.192, allocations: 51.59 kB / 0.7227 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.1923, allocations: 199.2 kB / 0.7229 GB, free: 10.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1924, allocations: 0 / 0.7229 GB, free: 10.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1924, allocations: 0 / 0.7229 GB, free: 10.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.82e-06/0.1924, allocations: 4 kB / 0.7229 GB, free: 10.73 MB / 0.545 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.0007872/0.1931, allocations: 442.8 kB / 0.7233 GB, free: 10.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1932, allocations: 15.97 kB / 0.7233 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.1932, allocations: 30.75 kB / 0.7234 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.1933, allocations: 16.84 kB / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1936, allocations: 190.2 kB / 0.7236 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.1936, allocations: 8.375 kB / 0.7236 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1936, allocations: 7.938 kB / 0.7236 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.1938, allocations: 69.66 kB / 0.7236 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1938, allocations: 3.938 kB / 0.7236 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1938, allocations: 4 kB / 0.7237 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.1938, allocations: 4 kB / 0.7237 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.194, allocations: 43.86 kB / 0.7237 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.1945, allocations: 315.8 kB / 0.724 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.1947, allocations: 78.61 kB / 0.7241 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.23e-05/0.1947, allocations: 32.84 kB / 0.7241 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.1948, allocations: 0 / 0.7241 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.1949, allocations: 83.38 kB / 0.7242 GB, free: 9.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1949, allocations: 4 kB / 0.7242 GB, free: 9.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.000322/0.1953, allocations: 145.5 kB / 0.7243 GB, free: 9.121 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.1953, allocations: 59.41 kB / 0.7244 GB, free: 9.051 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.1956, allocations: 283 kB / 0.7247 GB, free: 8.762 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1956, allocations: 25.7 kB / 0.7247 GB, free: 8.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.1957, allocations: 120.1 kB / 0.7248 GB, free: 8.609 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1958, allocations: 19.86 kB / 0.7248 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.1958, allocations: 25.7 kB / 0.7248 GB, free: 8.559 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.196, allocations: 334.8 kB / 0.7252 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.587e-05/0.196, allocations: 31.92 kB / 0.7252 GB, free: 8.191 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.1961, allocations: 80.27 kB / 0.7253 GB, free: 8.098 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1963, allocations: 73.69 kB / 0.7253 GB, free: 8.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1963, allocations: 384 / 0.7253 GB, free: 8.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002147/0.1965, allocations: 121.5 kB / 0.7254 GB, free: 7.895 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.1965, allocations: 4 kB / 0.7255 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1965, allocations: 0 / 0.7255 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.1965, allocations: 4 kB / 0.7255 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.726e-05/0.1966, allocations: 15.94 kB / 0.7255 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.1966, allocations: 4.062 kB / 0.7255 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.1966, allocations: 19.81 kB / 0.7255 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1967, allocations: 8.109 kB / 0.7255 GB, free: 7.84 MB / 0.545 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.0001302/0.1968, allocations: 150.5 kB / 0.7256 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.1968, allocations: 15.91 kB / 0.7257 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.1971, allocations: 131 kB / 0.7258 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.1971, allocations: 7.984 kB / 0.7258 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.1971, allocations: 0 / 0.7258 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1971, allocations: 3.938 kB / 0.7258 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.1973, allocations: 188.7 kB / 0.726 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1973, allocations: 0 / 0.726 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.1973, allocations: 4 kB / 0.726 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1973, allocations: 0 / 0.726 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1973, allocations: 4 kB / 0.726 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1973, allocations: 0 / 0.726 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1973, allocations: 3.984 kB / 0.726 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.1976, allocations: 160.8 kB / 0.7261 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.1977, allocations: 31.81 kB / 0.7262 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1977, allocations: 0 / 0.7262 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.062e-05/0.1977, allocations: 8 kB / 0.7262 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.1978, allocations: 11.92 kB / 0.7262 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1978, allocations: 0 / 0.7262 GB, free: 7.051 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002146/0.198, allocations: 212.6 kB / 0.7264 GB, free: 6.844 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.198, allocations: 0 / 0.7264 GB, free: 6.844 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00023/0.1982, allocations: 31.89 kB / 0.7264 GB, free: 6.812 MB / 0.545 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.002078/0.2003, allocations: 1.027 MB / 0.7274 GB, free: 5.945 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.2005, allocations: 79.91 kB / 0.7275 GB, free: 5.867 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2005, allocations: 0 / 0.7275 GB, free: 5.867 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.2006, allocations: 35.92 kB / 0.7275 GB, free: 5.832 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.2008, allocations: 40.86 kB / 0.7276 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.2032, allocations: 2.01 MB / 0.7295 GB, free: 3.703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.2033, allocations: 118.6 kB / 0.7297 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.761e-05/0.2034, allocations: 21.36 kB / 0.7297 GB, free: 3.547 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/0.2035, allocations: 51.42 kB / 0.7297 GB, free: 3.496 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.2035, allocations: 0 / 0.7297 GB, free: 3.496 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.2348, allocations: 5.286 MB / 0.7349 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.48, allocations: 13.62 kB / 0.7349 GB, free: 14.28 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.206512367818505] Failed to read output from testmodel.py, exit status != 0: 11.63903184980154 11.65640703 11.460844183 Calling exit ...