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.001856/0.001856, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002871/0.002871, allocations: 215 kB / 20.13 MB, free: 2.949 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.956/0.956, allocations: 145 MB / 454.5 MB, free: 10 MB / 350.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.001938/0.001938, allocations: 66.55 kB / 0.6287 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1688, allocations: 87.84 MB / 0.7145 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.004192/0.173, allocations: 1.803 MB / 0.7163 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002495/0.1755, allocations: 1.186 MB / 0.7174 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.1756, allocations: 3.938 kB / 0.7174 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006461/0.1763, allocations: 165.8 kB / 0.7176 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004324/0.1767, allocations: 159.4 kB / 0.7177 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.1771, allocations: 131.6 kB / 0.7178 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1774, allocations: 179.5 kB / 0.718 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.1775, allocations: 13.12 kB / 0.718 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.1777, allocations: 79.67 kB / 0.7181 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.1778, allocations: 83.61 kB / 0.7182 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.1779, allocations: 12 kB / 0.7182 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.178, allocations: 59.97 kB / 0.7183 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.483e-05/0.1781, allocations: 39.91 kB / 0.7183 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.605e-05/0.1782, allocations: 71.47 kB / 0.7184 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.1786, allocations: 207.4 kB / 0.7186 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1786, allocations: 0 / 0.7186 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1786, allocations: 0 / 0.7186 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.1786, allocations: 0 / 0.7186 GB, free: 7.5 MB / 0.5294 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.000908/0.1795, allocations: 0.5 MB / 0.719 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1795, allocations: 12.03 kB / 0.7191 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.303e-05/0.1796, allocations: 8.125 kB / 0.7191 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.1796, allocations: 34.73 kB / 0.7191 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.1797, allocations: 16.84 kB / 0.7191 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.18, allocations: 256 kB / 0.7194 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.18, allocations: 8.125 kB / 0.7194 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1801, allocations: 4 kB / 0.7194 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.1803, allocations: 95.31 kB / 0.7195 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1803, allocations: 0 / 0.7195 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1803, allocations: 0 / 0.7195 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.1803, allocations: 4 kB / 0.7195 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.811e-05/0.1804, allocations: 31.98 kB / 0.7195 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.181, allocations: 352.6 kB / 0.7198 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.1812, allocations: 74.67 kB / 0.7199 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.077e-05/0.1812, allocations: 28.84 kB / 0.7199 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1813, allocations: 4 kB / 0.7199 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.1815, allocations: 83.33 kB / 0.72 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.744e-06/0.1815, allocations: 0 / 0.72 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0003792/0.1818, allocations: 153.5 kB / 0.7202 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.1819, allocations: 85.16 kB / 0.7202 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.1822, allocations: 283.7 kB / 0.7205 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1822, allocations: 25.7 kB / 0.7205 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.1823, allocations: 116.1 kB / 0.7206 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1824, allocations: 27.78 kB / 0.7207 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.1824, allocations: 33.7 kB / 0.7207 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1826, allocations: 326.8 kB / 0.721 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.1827, allocations: 27.98 kB / 0.721 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.886e-05/0.1828, allocations: 55.42 kB / 0.7211 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1829, allocations: 77.62 kB / 0.7212 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1829, allocations: 0 / 0.7212 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002255/0.1831, allocations: 117.5 kB / 0.7213 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1831, allocations: 4 kB / 0.7213 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1832, allocations: 0 / 0.7213 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1832, allocations: 4.062 kB / 0.7213 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.1833, allocations: 12 kB / 0.7213 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1833, allocations: 3.938 kB / 0.7213 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.1833, allocations: 15.94 kB / 0.7213 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1833, allocations: 0 / 0.7213 GB, free: 4.395 MB / 0.5294 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.0001433/0.1835, allocations: 150.2 kB / 0.7215 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.1835, allocations: 15.91 kB / 0.7215 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.1836, allocations: 17.41 kB / 0.7215 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.1836, allocations: 7.984 kB / 0.7215 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.1836, allocations: 7.875 kB / 0.7215 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1836, allocations: 3.938 kB / 0.7215 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.1838, allocations: 229.5 kB / 0.7217 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1838, allocations: 0 / 0.7217 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.1838, allocations: 4 kB / 0.7217 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1838, allocations: 0 / 0.7217 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1839, allocations: 3.984 kB / 0.7217 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1839, allocations: 7.938 kB / 0.7218 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1839, allocations: 3.938 kB / 0.7218 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1841, allocations: 145 kB / 0.7219 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.1842, allocations: 93 kB / 0.722 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1842, allocations: 4 kB / 0.722 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.09e-05/0.1843, allocations: 4 kB / 0.722 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.1843, allocations: 15.92 kB / 0.722 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1843, allocations: 4 kB / 0.722 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002227/0.1845, allocations: 200.6 kB / 0.7222 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1845, allocations: 4 kB / 0.7222 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002568/0.1848, allocations: 39.91 kB / 0.7222 GB, free: 3.355 MB / 0.5294 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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.002057/0.1869, allocations: 0.9902 MB / 0.7232 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1871, allocations: 71.91 kB / 0.7233 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1871, allocations: 0 / 0.7233 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.1872, allocations: 31.98 kB / 0.7233 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.1875, allocations: 48.39 kB / 0.7234 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.19, allocations: 2.007 MB / 0.7253 GB, free: 268 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.1904, allocations: 0.728 MB / 0.726 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.05e-05/0.1905, allocations: 21.41 kB / 0.726 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.1906, allocations: 51.42 kB / 0.7261 GB, free: 15.44 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.1906, allocations: 0 / 0.7261 GB, free: 15.44 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.2139, allocations: 4.695 MB / 0.7307 GB, free: 10.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/8.623, allocations: 10.7 kB / 0.7307 GB, free: 10.85 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.604577291000169] Failed to read output from testmodel.py, exit status != 0: 8.802030024991836 8.828770062 8.645278078 Calling exit ...