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.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.001344/0.001344, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001584/0.001584, allocations: 214 kB / 22.25 MB, free: 5.258 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.797 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.9747/0.9747, allocations: 145 MB / 457.4 MB, free: 15.3 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.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: 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.002186/0.002186, allocations: 63.53 kB / 0.6331 GB, free: 6.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1801, allocations: 87.89 MB / 0.7189 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003744/0.1838, allocations: 1.741 MB / 0.7206 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.1852, allocations: 0.7028 MB / 0.7213 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.1852, allocations: 0 / 0.7213 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.583e-05/0.1853, allocations: 11.86 kB / 0.7213 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.479e-05/0.1854, allocations: 15.81 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.1859, allocations: 193.5 kB / 0.7215 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1861, allocations: 127.5 kB / 0.7216 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1863, allocations: 37.61 kB / 0.7217 GB, free: 12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.1865, allocations: 67.77 kB / 0.7217 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.097e-05/0.1865, allocations: 43.77 kB / 0.7218 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1866, allocations: 8 kB / 0.7218 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.1867, allocations: 51.97 kB / 0.7218 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.1867, allocations: 31.89 kB / 0.7219 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.1868, allocations: 51.73 kB / 0.7219 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.1871, allocations: 163.3 kB / 0.7221 GB, free: 11.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1871, allocations: 0 / 0.7221 GB, free: 11.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1871, allocations: 0 / 0.7221 GB, free: 11.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1871, allocations: 0 / 0.7221 GB, free: 11.59 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006446/0.1877, allocations: 367.8 kB / 0.7224 GB, free: 11.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1878, allocations: 8.031 kB / 0.7224 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.1878, allocations: 38.75 kB / 0.7225 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009823/0.1888, allocations: 140.6 kB / 0.7226 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.1891, allocations: 154.8 kB / 0.7228 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.1892, allocations: 119.1 kB / 0.7229 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1893, allocations: 12 kB / 0.7229 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005507/0.1898, allocations: 218.7 kB / 0.7231 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1898, allocations: 0 / 0.7231 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.1898, allocations: 4 kB / 0.7231 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1898, allocations: 4 kB / 0.7231 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006262/0.1905, allocations: 159.8 kB / 0.7233 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.1915, allocations: 424.8 kB / 0.7237 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.1926, allocations: 222.2 kB / 0.7239 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.1929, allocations: 72.91 kB / 0.7239 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.193, allocations: 12 kB / 0.724 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.193, allocations: 34.5 kB / 0.724 GB, free: 9.477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.193, allocations: 0 / 0.724 GB, free: 9.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001112/0.1941, allocations: 265.3 kB / 0.7242 GB, free: 9.211 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.1942, allocations: 51.41 kB / 0.7243 GB, free: 9.148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1943, allocations: 140.9 kB / 0.7244 GB, free: 8.996 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.1943, allocations: 29.7 kB / 0.7244 GB, free: 8.961 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.1944, allocations: 112.2 kB / 0.7246 GB, free: 8.848 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.1945, allocations: 19.83 kB / 0.7246 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.1945, allocations: 25.7 kB / 0.7246 GB, free: 8.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1947, allocations: 318.8 kB / 0.7249 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.195, allocations: 79.92 kB / 0.725 GB, free: 8.398 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.1954, allocations: 98.47 kB / 0.7251 GB, free: 8.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006178/0.196, allocations: 166.4 kB / 0.7252 GB, free: 8.121 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.196, allocations: 3.938 kB / 0.7252 GB, free: 8.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006935/0.1967, allocations: 209.4 kB / 0.7254 GB, free: 7.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1967, allocations: 8 kB / 0.7254 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1967, allocations: 0 / 0.7254 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1967, allocations: 4 kB / 0.7254 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.197, allocations: 35.95 kB / 0.7255 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.197, allocations: 4 kB / 0.7255 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.1972, allocations: 20.28 kB / 0.7255 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1972, allocations: 3.984 kB / 0.7255 GB, free: 7.832 MB / 0.545 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.0001111/0.1973, allocations: 129.7 kB / 0.7256 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.1974, allocations: 7.953 kB / 0.7256 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00072/0.1981, allocations: 202.2 kB / 0.7258 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1981, allocations: 4 kB / 0.7258 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1981, allocations: 4 kB / 0.7258 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1981, allocations: 3.984 kB / 0.7258 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.1984, allocations: 197.4 kB / 0.726 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1984, allocations: 0 / 0.726 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.1986, allocations: 39.83 kB / 0.7261 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1986, allocations: 0 / 0.7261 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1986, allocations: 0 / 0.7261 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1986, allocations: 0 / 0.7261 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1986, allocations: 4 kB / 0.7261 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/0.1993, allocations: 287.3 kB / 0.7263 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.1993, allocations: 7.953 kB / 0.7264 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1994, allocations: 4 kB / 0.7264 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.1997, allocations: 35.94 kB / 0.7264 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.1997, allocations: 0 / 0.7264 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1997, allocations: 11.98 kB / 0.7264 GB, free: 6.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.338e-05/0.1998, allocations: 113.3 kB / 0.7265 GB, free: 6.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1998, allocations: 0 / 0.7265 GB, free: 6.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002627/0.2001, allocations: 23.95 kB / 0.7265 GB, free: 6.707 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: 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.001058/0.2011, allocations: 0.8216 MB / 0.7273 GB, free: 5.859 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006872/0.2018, allocations: 159.8 kB / 0.7275 GB, free: 5.703 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2018, allocations: 4 kB / 0.7275 GB, free: 5.699 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.2021, allocations: 76.36 kB / 0.7276 GB, free: 5.625 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.2024, allocations: 12.11 kB / 0.7276 GB, free: 5.613 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.2057, allocations: 1.855 MB / 0.7294 GB, free: 3.668 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.715e-05/0.2058, allocations: 89.05 kB / 0.7295 GB, free: 3.559 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.2059, allocations: 16 kB / 0.7295 GB, free: 3.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.2059, allocations: 31.42 kB / 0.7295 GB, free: 3.512 MB / 0.545 GB Notification: Performance of SimCode: time 7.02e-07/0.2059, allocations: 0 / 0.7295 GB, free: 3.512 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/0.2386, allocations: 3.474 MB / 0.7329 GB, free: 192 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.31, allocations: 4 kB / 0.7329 GB, free: 192 kB / 0.545 GB " [Timeout remaining time 649] (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: 15.057482072152197] Failed to read output from testmodel.py, exit status != 0: 11.416554521769285 11.441490521 11.249664892 Calling exit ...