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.001347/0.001347, 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.002409/0.002409, allocations: 207.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.452/1.452, 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.9095/0.9095, allocations: 145 MB / 457.4 MB, free: 15.27 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.002871/0.002871, allocations: 68.53 kB / 0.6331 GB, free: 6.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1792, allocations: 87.89 MB / 0.7189 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003622/0.1828, allocations: 1.773 MB / 0.7207 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.185, allocations: 1.12 MB / 0.7218 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1852, allocations: 0 / 0.7218 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.1858, allocations: 163.5 kB / 0.7219 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.1863, allocations: 171.3 kB / 0.7221 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.1867, allocations: 135.6 kB / 0.7222 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.187, allocations: 167.6 kB / 0.7224 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1871, allocations: 21.3 kB / 0.7224 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.1872, allocations: 79.62 kB / 0.7225 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1874, allocations: 75.73 kB / 0.7225 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.1874, allocations: 8 kB / 0.7225 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.1876, allocations: 67.94 kB / 0.7226 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.704e-05/0.1877, allocations: 47.78 kB / 0.7227 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.492e-05/0.1877, allocations: 43.73 kB / 0.7227 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.1881, allocations: 207.1 kB / 0.7229 GB, free: 10.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1881, allocations: 0 / 0.7229 GB, free: 10.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1881, allocations: 0 / 0.7229 GB, free: 10.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.1881, allocations: 4 kB / 0.7229 GB, free: 10.71 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.0007817/0.1889, allocations: 438.8 kB / 0.7233 GB, free: 10.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1889, allocations: 8.031 kB / 0.7233 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.189, allocations: 34.75 kB / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.189, allocations: 20.78 kB / 0.7234 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.1893, allocations: 194.2 kB / 0.7236 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1894, allocations: 8.375 kB / 0.7236 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.1894, allocations: 3.938 kB / 0.7236 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1896, allocations: 77.59 kB / 0.7236 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1896, allocations: 0 / 0.7236 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.1896, allocations: 4 kB / 0.7237 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.1896, allocations: 4 kB / 0.7237 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.852e-05/0.1897, allocations: 35.98 kB / 0.7237 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.1902, allocations: 319.7 kB / 0.724 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.1904, allocations: 74.61 kB / 0.7241 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.1905, allocations: 36.78 kB / 0.7241 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1905, allocations: 4 kB / 0.7241 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.1907, allocations: 83.36 kB / 0.7242 GB, free: 9.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.1907, allocations: 7.938 kB / 0.7242 GB, free: 9.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003584/0.1911, allocations: 141.6 kB / 0.7243 GB, free: 9.098 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.1911, allocations: 51.41 kB / 0.7244 GB, free: 9.035 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.1915, allocations: 287 kB / 0.7246 GB, free: 8.742 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1915, allocations: 33.64 kB / 0.7247 GB, free: 8.703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1916, allocations: 120.1 kB / 0.7248 GB, free: 8.582 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.1916, allocations: 27.83 kB / 0.7248 GB, free: 8.555 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.1917, allocations: 21.72 kB / 0.7248 GB, free: 8.527 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1918, allocations: 330.8 kB / 0.7252 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.1919, allocations: 27.98 kB / 0.7252 GB, free: 8.168 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.1921, allocations: 92.25 kB / 0.7253 GB, free: 8.062 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1922, allocations: 77.62 kB / 0.7253 GB, free: 7.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1922, allocations: 0 / 0.7253 GB, free: 7.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002221/0.1924, allocations: 117.9 kB / 0.7255 GB, free: 7.859 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1925, allocations: 4 kB / 0.7255 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1925, allocations: 3.938 kB / 0.7255 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1925, allocations: 4 kB / 0.7255 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/0.1926, allocations: 8 kB / 0.7255 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1926, allocations: 4.062 kB / 0.7255 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.1926, allocations: 23.81 kB / 0.7255 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1926, allocations: 4 kB / 0.7255 GB, free: 7.809 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.0001456/0.1928, allocations: 142.6 kB / 0.7256 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.1928, allocations: 15.91 kB / 0.7257 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.1931, allocations: 135 kB / 0.7258 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.1931, allocations: 0 / 0.7258 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1931, allocations: 4 kB / 0.7258 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1931, allocations: 3.938 kB / 0.7258 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.1933, allocations: 192.6 kB / 0.726 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.1933, allocations: 7.922 kB / 0.726 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.1934, allocations: 8 kB / 0.726 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1934, allocations: 0 / 0.726 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.1934, allocations: 0 / 0.726 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1934, allocations: 7.984 kB / 0.726 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1934, allocations: 0 / 0.726 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.1936, allocations: 148.9 kB / 0.7261 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1937, allocations: 27.83 kB / 0.7262 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.1937, allocations: 4 kB / 0.7262 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.162e-05/0.1937, allocations: 8 kB / 0.7262 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.1938, allocations: 7.922 kB / 0.7262 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.1938, allocations: 4 kB / 0.7262 GB, free: 7.023 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002164/0.194, allocations: 208.6 kB / 0.7264 GB, free: 6.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.194, allocations: 0 / 0.7264 GB, free: 6.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002472/0.1943, allocations: 35.89 kB / 0.7264 GB, free: 6.785 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.002175/0.1964, allocations: 1.03 MB / 0.7274 GB, free: 5.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.1967, allocations: 75.95 kB / 0.7275 GB, free: 5.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.1967, allocations: 4 kB / 0.7275 GB, free: 5.836 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.758e-05/0.1968, allocations: 35.92 kB / 0.7275 GB, free: 5.801 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.1971, allocations: 42.39 kB / 0.7276 GB, free: 5.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.1997, allocations: 1.998 MB / 0.7295 GB, free: 3.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.1998, allocations: 118.6 kB / 0.7296 GB, free: 3.543 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.669e-05/0.1999, allocations: 21.72 kB / 0.7297 GB, free: 3.523 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.2, allocations: 55.41 kB / 0.7297 GB, free: 3.469 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.2, allocations: 0 / 0.7297 GB, free: 3.469 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.2338, allocations: 5.288 MB / 0.7349 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.56, allocations: 8.406 kB / 0.7349 GB, free: 14.27 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 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.386455740779638] Failed to read output from testmodel.py, exit status != 0: 11.732000971212983 11.754754165 11.562345693 Calling exit ...