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.001833/0.001833, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001833/0.001833, allocations: 214.6 kB / 23.03 MB, free: 4.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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9407/0.9407, allocations: 145 MB / 458.2 MB, free: 15.26 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",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.002037/0.002037, allocations: 71.67 kB / 0.6339 GB, free: 6.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1896, allocations: 87.88 MB / 0.7197 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.00329/0.1929, allocations: 1.753 MB / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1943, allocations: 0.6949 MB / 0.7221 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.1944, allocations: 4 kB / 0.7221 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.1944, allocations: 11.81 kB / 0.7221 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.205e-05/0.1945, allocations: 19.8 kB / 0.7221 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.1951, allocations: 187 kB / 0.7223 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.1953, allocations: 127.6 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.1954, allocations: 45.59 kB / 0.7225 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.1956, allocations: 59.84 kB / 0.7225 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.1957, allocations: 55.69 kB / 0.7226 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.1957, allocations: 12 kB / 0.7226 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1958, allocations: 47.97 kB / 0.7226 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.1959, allocations: 31.91 kB / 0.7227 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.1959, allocations: 43.78 kB / 0.7227 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1962, allocations: 167.3 kB / 0.7229 GB, free: 11.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1962, allocations: 0 / 0.7229 GB, free: 11.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1962, allocations: 0 / 0.7229 GB, free: 11.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.1962, allocations: 7.984 kB / 0.7229 GB, free: 11.53 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.0006036/0.1968, allocations: 361.7 kB / 0.7232 GB, free: 11.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1968, allocations: 12.03 kB / 0.7232 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.558e-05/0.1969, allocations: 192 / 0.7232 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.1969, allocations: 46.67 kB / 0.7233 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009585/0.1979, allocations: 132.7 kB / 0.7234 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1981, allocations: 158.8 kB / 0.7235 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.1982, allocations: 114.9 kB / 0.7237 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1983, allocations: 12 kB / 0.7237 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.1988, allocations: 216.9 kB / 0.7239 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1988, allocations: 0 / 0.7239 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.1988, allocations: 8 kB / 0.7239 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1988, allocations: 4 kB / 0.7239 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005841/0.1994, allocations: 155.8 kB / 0.724 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.2005, allocations: 428.8 kB / 0.7244 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009642/0.2014, allocations: 214.3 kB / 0.7246 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.2017, allocations: 80.89 kB / 0.7247 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.2018, allocations: 7.938 kB / 0.7247 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.2018, allocations: 30.56 kB / 0.7248 GB, free: 9.414 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2018, allocations: 0 / 0.7248 GB, free: 9.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0009911/0.2028, allocations: 265.3 kB / 0.725 GB, free: 9.148 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.2028, allocations: 55.41 kB / 0.7251 GB, free: 9.082 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.203, allocations: 145.1 kB / 0.7252 GB, free: 8.926 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.203, allocations: 25.7 kB / 0.7252 GB, free: 8.895 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.2031, allocations: 116.2 kB / 0.7253 GB, free: 8.777 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.2031, allocations: 27.72 kB / 0.7254 GB, free: 8.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.867e-05/0.2032, allocations: 25.7 kB / 0.7254 GB, free: 8.719 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2033, allocations: 318.8 kB / 0.7257 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.2036, allocations: 75.91 kB / 0.7258 GB, free: 8.324 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.2039, allocations: 94.5 kB / 0.7259 GB, free: 8.223 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/0.2045, allocations: 154.4 kB / 0.726 GB, free: 8.062 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2045, allocations: 7.938 kB / 0.726 GB, free: 8.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006433/0.2051, allocations: 205.4 kB / 0.7262 GB, free: 7.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2051, allocations: 4 kB / 0.7262 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2051, allocations: 3.938 kB / 0.7262 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2051, allocations: 4.062 kB / 0.7262 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.2054, allocations: 39.94 kB / 0.7263 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2054, allocations: 4 kB / 0.7263 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.2056, allocations: 19.97 kB / 0.7263 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.2056, allocations: 8 kB / 0.7263 GB, free: 7.766 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.0001072/0.2057, allocations: 121.8 kB / 0.7264 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.2058, allocations: 7.953 kB / 0.7264 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007152/0.2065, allocations: 206.5 kB / 0.7266 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2065, allocations: 4 kB / 0.7266 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2065, allocations: 4.062 kB / 0.7266 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2065, allocations: 0 / 0.7266 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.2067, allocations: 197.4 kB / 0.7268 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.2067, allocations: 0 / 0.7268 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.207, allocations: 35.94 kB / 0.7268 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.207, allocations: 0 / 0.7268 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.207, allocations: 4 kB / 0.7268 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.207, allocations: 4 kB / 0.7268 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.207, allocations: 0 / 0.7268 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.2077, allocations: 291.2 kB / 0.7271 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.2077, allocations: 7.953 kB / 0.7271 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.2077, allocations: 3.984 kB / 0.7271 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.208, allocations: 31.95 kB / 0.7272 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.2081, allocations: 7.984 kB / 0.7272 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.2081, allocations: 7.984 kB / 0.7272 GB, free: 6.777 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.201e-05/0.2082, allocations: 110.1 kB / 0.7273 GB, free: 6.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2082, allocations: 0 / 0.7273 GB, free: 6.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002708/0.2084, allocations: 27.95 kB / 0.7273 GB, free: 6.645 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.001013/0.2094, allocations: 0.8176 MB / 0.7281 GB, free: 5.801 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006538/0.2101, allocations: 163.8 kB / 0.7283 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2101, allocations: 0 / 0.7283 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.2104, allocations: 83.98 kB / 0.7283 GB, free: 5.559 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.2107, allocations: 5.875 kB / 0.7284 GB, free: 5.555 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.2138, allocations: 1.844 MB / 0.7302 GB, free: 3.621 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.214, allocations: 100.9 kB / 0.7302 GB, free: 3.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.814e-05/0.2141, allocations: 19.98 kB / 0.7303 GB, free: 3.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.99e-05/0.2142, allocations: 35.42 kB / 0.7303 GB, free: 3.445 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.2142, allocations: 0 / 0.7303 GB, free: 3.445 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.2384, allocations: 3.121 MB / 0.7333 GB, free: 500 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.44, allocations: 13.62 kB / 0.7334 GB, free: 492 kB / 0.545 GB " [Timeout remaining time 648] (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.253775834920816] Failed to read output from testmodel.py, exit status != 0: 11.600139908026904 11.617463126 11.418075206 Calling exit ...