Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 107.7 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.988/0.988, allocations: 145.2 MB / 447.9 MB, free: 6.352 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.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 69.98 kB / 0.62 GB, free: 1.359 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.17, allocations: 86.63 MB / 0.7046 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003189/0.1732, allocations: 1.778 MB / 0.7063 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1744, allocations: 0.6632 MB / 0.707 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.1745, allocations: 3.938 kB / 0.707 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.635e-05/0.1745, allocations: 15.81 kB / 0.707 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.1746, allocations: 23.78 kB / 0.707 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.1751, allocations: 172.3 kB / 0.7072 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1753, allocations: 127.7 kB / 0.7073 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.1755, allocations: 41.23 kB / 0.7073 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1757, allocations: 59.77 kB / 0.7074 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.45e-05/0.1758, allocations: 43.78 kB / 0.7074 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.1758, allocations: 12 kB / 0.7074 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1759, allocations: 51.94 kB / 0.7075 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.1759, allocations: 23.92 kB / 0.7075 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.176, allocations: 59.7 kB / 0.7076 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.1763, allocations: 151.3 kB / 0.7077 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1763, allocations: 0 / 0.7077 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1763, allocations: 4 kB / 0.7077 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.1763, allocations: 3.984 kB / 0.7077 GB, free: 7.441 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007592/0.177, allocations: 438.8 kB / 0.7081 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1771, allocations: 12.03 kB / 0.7082 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.1771, allocations: 38.73 kB / 0.7082 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/0.1779, allocations: 116.7 kB / 0.7083 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.1781, allocations: 186.6 kB / 0.7085 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.1782, allocations: 59.95 kB / 0.7085 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1783, allocations: 12.38 kB / 0.7086 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.1788, allocations: 172 kB / 0.7087 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1788, allocations: 0 / 0.7087 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.1788, allocations: 8 kB / 0.7087 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1788, allocations: 0 / 0.7087 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.1794, allocations: 155.8 kB / 0.7089 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.1805, allocations: 489.8 kB / 0.7093 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009618/0.1815, allocations: 218.3 kB / 0.7095 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.1817, allocations: 72.91 kB / 0.7096 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.1818, allocations: 11.98 kB / 0.7096 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1818, allocations: 34.56 kB / 0.7097 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1818, allocations: 0 / 0.7097 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0009807/0.1828, allocations: 257.4 kB / 0.7099 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1828, allocations: 55.39 kB / 0.71 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.183, allocations: 141.8 kB / 0.7101 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.183, allocations: 25.7 kB / 0.7101 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.1831, allocations: 112.2 kB / 0.7102 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.1831, allocations: 19.86 kB / 0.7102 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/0.1832, allocations: 25.7 kB / 0.7103 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1833, allocations: 322.8 kB / 0.7106 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.1836, allocations: 75.86 kB / 0.7106 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.1839, allocations: 102.5 kB / 0.7107 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.1845, allocations: 162.6 kB / 0.7109 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1845, allocations: 4 kB / 0.7109 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006914/0.1852, allocations: 201.4 kB / 0.7111 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1852, allocations: 4 kB / 0.7111 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1852, allocations: 3.938 kB / 0.7111 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1852, allocations: 4.062 kB / 0.7111 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.1855, allocations: 35.95 kB / 0.7111 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1855, allocations: 4 kB / 0.7111 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.1857, allocations: 27.89 kB / 0.7112 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1857, allocations: 8 kB / 0.7112 GB, free: 3.637 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * 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.0001079/0.1858, allocations: 113.8 kB / 0.7113 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.1858, allocations: 7.953 kB / 0.7113 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000687/0.1865, allocations: 210.1 kB / 0.7115 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1865, allocations: 0 / 0.7115 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1865, allocations: 0 / 0.7115 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1865, allocations: 8 kB / 0.7115 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.1868, allocations: 241.9 kB / 0.7117 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1868, allocations: 0 / 0.7117 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.1871, allocations: 31.95 kB / 0.7118 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1871, allocations: 4 kB / 0.7118 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1871, allocations: 7.922 kB / 0.7118 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1871, allocations: 0 / 0.7118 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1871, allocations: 0 / 0.7118 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.1878, allocations: 291.3 kB / 0.7121 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.1878, allocations: 85.25 kB / 0.7121 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1879, allocations: 7.938 kB / 0.7121 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.1882, allocations: 35.95 kB / 0.7122 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.1882, allocations: 4 kB / 0.7122 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.1882, allocations: 7.984 kB / 0.7122 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.961e-05/0.1883, allocations: 105.3 kB / 0.7123 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1883, allocations: 0 / 0.7123 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002611/0.1885, allocations: 27.89 kB / 0.7123 GB, free: 2.375 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001056/0.1896, allocations: 0.8216 MB / 0.7131 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006245/0.1902, allocations: 163.8 kB / 0.7133 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1902, allocations: 0 / 0.7133 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.1905, allocations: 79.84 kB / 0.7134 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.1909, allocations: 16.06 kB / 0.7134 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.1943, allocations: 1.835 MB / 0.7152 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.1947, allocations: 0.708 MB / 0.7159 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.465e-05/0.1948, allocations: 16 kB / 0.7159 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.359e-05/0.1949, allocations: 27.42 kB / 0.7159 GB, free: 14.56 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1949, allocations: 0 / 0.7159 GB, free: 14.56 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.222, allocations: 2.775 MB / 0.7186 GB, free: 11.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.092, allocations: 17.95 kB / 0.7186 GB, free: 11.88 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.772447656840086] Failed to read output from testmodel.py, exit status != 0: 8.15948011027649 8.175183243 7.996008333 Calling exit ...