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.001346/0.001346, allocations: 114.8 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.001551/0.001551, allocations: 210.3 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.478/1.478, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9217/0.9217, allocations: 144.9 MB / 454.5 MB, free: 10.4 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.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.003312/0.003312, allocations: 68.28 kB / 0.6287 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1834, allocations: 87.84 MB / 0.7145 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003573/0.187, allocations: 1.798 MB / 0.7162 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.1884, allocations: 0.7372 MB / 0.717 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1886, allocations: 0 / 0.717 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.879e-05/0.1886, allocations: 15.8 kB / 0.717 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.313e-05/0.1887, allocations: 19.81 kB / 0.717 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006779/0.1894, allocations: 183.9 kB / 0.7172 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.1896, allocations: 119.7 kB / 0.7173 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.1898, allocations: 45.69 kB / 0.7173 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.19, allocations: 63.77 kB / 0.7174 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1901, allocations: 55.77 kB / 0.7174 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.1901, allocations: 8 kB / 0.7174 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.1903, allocations: 51.97 kB / 0.7175 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.1903, allocations: 35.83 kB / 0.7175 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.1904, allocations: 55.72 kB / 0.7176 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.1907, allocations: 163.3 kB / 0.7177 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1907, allocations: 0 / 0.7177 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1907, allocations: 0 / 0.7177 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.1907, allocations: 4 kB / 0.7177 GB, free: 8.375 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.0007956/0.1915, allocations: 438.8 kB / 0.7182 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1915, allocations: 12.03 kB / 0.7182 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.671e-05/0.1915, allocations: 192 / 0.7182 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.259e-05/0.1916, allocations: 42.75 kB / 0.7182 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.1927, allocations: 132.6 kB / 0.7183 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.1931, allocations: 215.7 kB / 0.7185 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.1932, allocations: 71.52 kB / 0.7186 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.1932, allocations: 11.94 kB / 0.7186 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.1938, allocations: 173.5 kB / 0.7188 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1938, allocations: 3.938 kB / 0.7188 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.1939, allocations: 4 kB / 0.7188 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1939, allocations: 3.938 kB / 0.7188 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006557/0.1945, allocations: 159.8 kB / 0.719 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.1958, allocations: 477.8 kB / 0.7194 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1968, allocations: 214.3 kB / 0.7196 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.1972, allocations: 80.91 kB / 0.7197 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1972, allocations: 11.88 kB / 0.7197 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.1972, allocations: 34.55 kB / 0.7197 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 3.597e-06/0.1972, allocations: 3.984 kB / 0.7197 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.001147/0.1984, allocations: 261.4 kB / 0.72 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.1984, allocations: 51.41 kB / 0.72 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1986, allocations: 146.4 kB / 0.7202 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.1986, allocations: 25.7 kB / 0.7202 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.1987, allocations: 112.3 kB / 0.7203 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.1988, allocations: 27.78 kB / 0.7203 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/0.1988, allocations: 25.7 kB / 0.7204 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.199, allocations: 322.8 kB / 0.7207 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.1993, allocations: 75.92 kB / 0.7207 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.1997, allocations: 106.4 kB / 0.7208 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/0.2003, allocations: 158.4 kB / 0.721 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.2003, allocations: 3.938 kB / 0.721 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007436/0.2011, allocations: 197.4 kB / 0.7212 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.2011, allocations: 13.94 kB / 0.7212 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2011, allocations: 0 / 0.7212 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2011, allocations: 0 / 0.7212 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.2014, allocations: 39.89 kB / 0.7212 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.2014, allocations: 0 / 0.7212 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.2016, allocations: 27.95 kB / 0.7213 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2016, allocations: 4 kB / 0.7213 GB, free: 4.496 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.0001285/0.2018, allocations: 125.7 kB / 0.7214 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.2018, allocations: 7.953 kB / 0.7214 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008091/0.2026, allocations: 218.4 kB / 0.7216 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2026, allocations: 0 / 0.7216 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2026, allocations: 3.984 kB / 0.7216 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2026, allocations: 0 / 0.7216 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.2029, allocations: 238.3 kB / 0.7218 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2029, allocations: 0 / 0.7218 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.2032, allocations: 31.95 kB / 0.7219 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.2032, allocations: 3.984 kB / 0.7219 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.2032, allocations: 4 kB / 0.7219 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2032, allocations: 4 kB / 0.7219 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2032, allocations: 3.938 kB / 0.7219 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007737/0.204, allocations: 287.2 kB / 0.7222 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.204, allocations: 85.06 kB / 0.7222 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.2041, allocations: 8 kB / 0.7222 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.2044, allocations: 27.95 kB / 0.7223 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.2044, allocations: 3.984 kB / 0.7223 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.2044, allocations: 7.984 kB / 0.7223 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.76e-05/0.2045, allocations: 113.1 kB / 0.7224 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2045, allocations: 0 / 0.7224 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002706/0.2048, allocations: 23.95 kB / 0.7224 GB, free: 3.227 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.00112/0.2059, allocations: 0.8177 MB / 0.7232 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007416/0.2066, allocations: 159.8 kB / 0.7234 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2066, allocations: 0 / 0.7234 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.207, allocations: 87.97 kB / 0.7234 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2073, allocations: 12.38 kB / 0.7235 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.2108, allocations: 1.845 MB / 0.7253 GB, free: 196 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.2112, allocations: 0.7002 MB / 0.7259 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.379e-05/0.2113, allocations: 12 kB / 0.726 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.2114, allocations: 39.41 kB / 0.726 GB, free: 15.41 MB / 0.545 GB Notification: Performance of SimCode: time 1.232e-06/0.2114, allocations: 0 / 0.726 GB, free: 15.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.2326, allocations: 2.874 MB / 0.7288 GB, free: 12.67 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.509, allocations: 7.328 kB / 0.7288 GB, free: 12.66 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.375653057999443] Failed to read output from testmodel.py, exit status != 0: 8.64233795896871 8.656907665 8.463182152 Calling exit ...