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.001345/0.001345, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001523/0.001523, allocations: 219.8 kB / 23.03 MB, free: 4.922 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.495/1.495, 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/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.922/0.922, allocations: 145 MB / 458.2 MB, free: 15.28 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",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.002119/0.002119, allocations: 70.39 kB / 0.6339 GB, free: 6.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1872, allocations: 87.88 MB / 0.7197 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003749/0.1909, allocations: 1.783 MB / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002479/0.1934, allocations: 1.112 MB / 0.7225 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1936, allocations: 7.938 kB / 0.7225 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006848/0.1942, allocations: 167.5 kB / 0.7227 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.1947, allocations: 159.5 kB / 0.7228 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.1951, allocations: 139 kB / 0.723 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000284/0.1954, allocations: 175.5 kB / 0.7231 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1955, allocations: 17.3 kB / 0.7232 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.1957, allocations: 79.62 kB / 0.7232 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1958, allocations: 75.73 kB / 0.7233 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.1958, allocations: 8 kB / 0.7233 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.196, allocations: 67.95 kB / 0.7234 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.872e-05/0.1961, allocations: 55.77 kB / 0.7234 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.1962, allocations: 47.67 kB / 0.7235 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.1966, allocations: 207.2 kB / 0.7237 GB, free: 10.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1966, allocations: 0 / 0.7237 GB, free: 10.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1966, allocations: 0 / 0.7237 GB, free: 10.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1966, allocations: 0 / 0.7237 GB, free: 10.74 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.0008715/0.1975, allocations: 442.7 kB / 0.7241 GB, free: 10.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1975, allocations: 8.031 kB / 0.7241 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.818e-05/0.1975, allocations: 4.188 kB / 0.7241 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.1976, allocations: 38.73 kB / 0.7241 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.1976, allocations: 24.84 kB / 0.7242 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.1979, allocations: 186.2 kB / 0.7243 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1979, allocations: 16.11 kB / 0.7244 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.198, allocations: 4 kB / 0.7244 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.1982, allocations: 113 kB / 0.7245 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1982, allocations: 0 / 0.7245 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1982, allocations: 4 kB / 0.7245 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.1982, allocations: 4 kB / 0.7245 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1983, allocations: 31.98 kB / 0.7245 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.1988, allocations: 331.6 kB / 0.7248 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.199, allocations: 74.67 kB / 0.7249 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.6e-05/0.1991, allocations: 32.84 kB / 0.7249 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.1991, allocations: 0 / 0.7249 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.1993, allocations: 87.31 kB / 0.725 GB, free: 9.211 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.1993, allocations: 0 / 0.725 GB, free: 9.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003772/0.1997, allocations: 153.4 kB / 0.7252 GB, free: 9.055 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.1997, allocations: 77.11 kB / 0.7252 GB, free: 8.961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.2001, allocations: 291 kB / 0.7255 GB, free: 8.664 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.2001, allocations: 25.7 kB / 0.7255 GB, free: 8.633 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.2002, allocations: 116.1 kB / 0.7256 GB, free: 8.516 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.2002, allocations: 27.78 kB / 0.7257 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.2003, allocations: 33.7 kB / 0.7257 GB, free: 8.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2004, allocations: 330.8 kB / 0.726 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.2005, allocations: 27.98 kB / 0.726 GB, free: 8.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.2006, allocations: 114.8 kB / 0.7262 GB, free: 7.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2008, allocations: 77.62 kB / 0.7262 GB, free: 7.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2008, allocations: 0 / 0.7262 GB, free: 7.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002177/0.201, allocations: 121.5 kB / 0.7263 GB, free: 7.746 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.201, allocations: 4 kB / 0.7263 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.201, allocations: 0 / 0.7263 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.201, allocations: 0 / 0.7263 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.2011, allocations: 12 kB / 0.7264 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.2011, allocations: 3.938 kB / 0.7264 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.215e-05/0.2012, allocations: 15.94 kB / 0.7264 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.2012, allocations: 4 kB / 0.7264 GB, free: 7.707 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.0001459/0.2013, allocations: 146.5 kB / 0.7265 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.2014, allocations: 16.28 kB / 0.7265 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.2016, allocations: 131.1 kB / 0.7267 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.2016, allocations: 4 kB / 0.7267 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2017, allocations: 3.938 kB / 0.7267 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2017, allocations: 3.938 kB / 0.7267 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.2019, allocations: 196.6 kB / 0.7269 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2019, allocations: 4 kB / 0.7269 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.2019, allocations: 4 kB / 0.7269 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2019, allocations: 0 / 0.7269 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.2019, allocations: 11.98 kB / 0.7269 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2019, allocations: 0 / 0.7269 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.2019, allocations: 7.875 kB / 0.7269 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.2022, allocations: 149 kB / 0.727 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.2022, allocations: 19.89 kB / 0.727 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.2023, allocations: 4 kB / 0.727 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.011e-05/0.2023, allocations: 4 kB / 0.7271 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.2023, allocations: 11.92 kB / 0.7271 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.2024, allocations: 4 kB / 0.7271 GB, free: 6.918 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002132/0.2026, allocations: 204.6 kB / 0.7273 GB, free: 6.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2026, allocations: 4 kB / 0.7273 GB, free: 6.715 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002499/0.2028, allocations: 35.89 kB / 0.7273 GB, free: 6.68 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.002093/0.2049, allocations: 1.031 MB / 0.7283 GB, free: 5.805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.2051, allocations: 75.91 kB / 0.7284 GB, free: 5.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2051, allocations: 0 / 0.7284 GB, free: 5.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.893e-05/0.2052, allocations: 35.98 kB / 0.7284 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.2056, allocations: 42.36 kB / 0.7285 GB, free: 5.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.2081, allocations: 2.012 MB / 0.7304 GB, free: 3.562 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.2082, allocations: 110.6 kB / 0.7305 GB, free: 3.434 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.65e-05/0.2083, allocations: 25.72 kB / 0.7305 GB, free: 3.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.809e-05/0.2084, allocations: 55.41 kB / 0.7306 GB, free: 3.355 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.2084, allocations: 0 / 0.7306 GB, free: 3.355 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.2368, allocations: 5.021 MB / 0.7355 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.56, allocations: 15.45 kB / 0.7355 GB, free: 14.44 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 os._exit(0), Time elapsed: 15.493431256036274] Failed to read output from testmodel.py, exit status != 0: 11.833593691932037 11.863201905 11.660755651 Calling exit ...