Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.001805/0.001805, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002102/0.002102, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.514/1.514, allocations: 230.6 MB / 256 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.928/0.928, 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.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",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.002138/0.002138, allocations: 62.41 kB / 0.6331 GB, free: 6.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1757, allocations: 87.9 MB / 0.7189 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003019/0.1787, allocations: 1.448 MB / 0.7203 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009636/0.1796, allocations: 471.8 kB / 0.7208 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.1797, allocations: 0 / 0.7208 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.1797, allocations: 3.938 kB / 0.7208 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.169e-05/0.1798, allocations: 7.922 kB / 0.7208 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.18, allocations: 23.92 kB / 0.7208 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.1801, allocations: 31.86 kB / 0.7209 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.1801, allocations: 3.984 kB / 0.7209 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.235e-05/0.1802, allocations: 8 kB / 0.7209 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.1803, allocations: 15.92 kB / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1803, allocations: 4 kB / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.041e-05/0.1803, allocations: 19.92 kB / 0.7209 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.1804, allocations: 3.984 kB / 0.7209 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.1804, allocations: 11.94 kB / 0.7209 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.1805, allocations: 35.83 kB / 0.721 GB, free: 12.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1805, allocations: 0 / 0.721 GB, free: 12.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1805, allocations: 0 / 0.721 GB, free: 12.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1805, allocations: 4 kB / 0.721 GB, free: 12.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004661/0.181, allocations: 262.3 kB / 0.7212 GB, free: 12.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.181, allocations: 16.03 kB / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.181, allocations: 34.73 kB / 0.7213 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.1811, allocations: 0.9375 kB / 0.7213 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1812, allocations: 106.5 kB / 0.7214 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.1812, allocations: 384 / 0.7214 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.1812, allocations: 384 / 0.7214 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1814, allocations: 57.73 kB / 0.7214 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1814, allocations: 7.984 kB / 0.7214 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1814, allocations: 4 kB / 0.7214 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1814, allocations: 0 / 0.7214 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1816, allocations: 31.97 kB / 0.7215 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.1819, allocations: 228 kB / 0.7217 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.182, allocations: 42.48 kB / 0.7217 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.133e-05/0.1821, allocations: 16.91 kB / 0.7217 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.072e-05/0.1822, allocations: 4 kB / 0.7217 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1822, allocations: 38.56 kB / 0.7218 GB, free: 11.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1822, allocations: 0 / 0.7218 GB, free: 11.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003497/0.1826, allocations: 81.64 kB / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.1826, allocations: 51.41 kB / 0.7219 GB, free: 11.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1827, allocations: 101.8 kB / 0.722 GB, free: 11.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1828, allocations: 29.7 kB / 0.722 GB, free: 11.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.1828, allocations: 88.08 kB / 0.7221 GB, free: 11.42 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.1828, allocations: 3.953 kB / 0.7221 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.1829, allocations: 17.7 kB / 0.7221 GB, free: 11.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.183, allocations: 322.9 kB / 0.7224 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.1831, allocations: 11.98 kB / 0.7224 GB, free: 11.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.092e-05/0.1832, allocations: 19.98 kB / 0.7225 GB, free: 11.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1833, allocations: 48.69 kB / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1833, allocations: 0 / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001938/0.1835, allocations: 65.73 kB / 0.7226 GB, free: 10.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1835, allocations: 4 kB / 0.7226 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.1835, allocations: 3.984 kB / 0.7226 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1835, allocations: 0 / 0.7226 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.649e-05/0.1836, allocations: 11.94 kB / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1836, allocations: 0 / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.1837, allocations: 7.984 kB / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1837, allocations: 0 / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.703e-05/0.1838, allocations: 113.8 kB / 0.7227 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.1838, allocations: 11.98 kB / 0.7227 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.184, allocations: 68.97 kB / 0.7228 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.184, allocations: 7.984 kB / 0.7228 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.184, allocations: 0 / 0.7228 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.184, allocations: 0 / 0.7228 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1842, allocations: 132.6 kB / 0.7229 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1842, allocations: 3.984 kB / 0.7229 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.1843, allocations: 8 kB / 0.7229 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1843, allocations: 4.031 kB / 0.7229 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.1843, allocations: 0 / 0.7229 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1843, allocations: 4.188 kB / 0.7229 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1843, allocations: 0 / 0.7229 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.1846, allocations: 163.5 kB / 0.7231 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.1846, allocations: 8 kB / 0.7231 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1846, allocations: 3.984 kB / 0.7231 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.1846, allocations: 4 kB / 0.7231 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.1847, allocations: 8.016 kB / 0.7231 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1847, allocations: 0 / 0.7231 GB, free: 10.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.1847, allocations: 83.28 kB / 0.7232 GB, free: 10.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1847, allocations: 0 / 0.7232 GB, free: 10.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002267/0.185, allocations: 8 kB / 0.7232 GB, free: 10.19 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 (2): * Single equations (assignments): 2 * 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.0006353/0.1856, allocations: 0.7051 MB / 0.7239 GB, free: 9.453 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.1858, allocations: 39.98 kB / 0.7239 GB, free: 9.414 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1858, allocations: 0 / 0.7239 GB, free: 9.414 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/0.1859, allocations: 19.92 kB / 0.724 GB, free: 9.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.1862, allocations: 11.98 kB / 0.724 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.1867, allocations: 143 kB / 0.7241 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.715e-05/0.1868, allocations: 67.28 kB / 0.7242 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.683e-05/0.1868, allocations: 4.125 kB / 0.7242 GB, free: 9.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1868, allocations: 15.44 kB / 0.7242 GB, free: 9.098 MB / 0.545 GB Notification: Performance of SimCode: time 4.3e-07/0.1868, allocations: 0 / 0.7242 GB, free: 9.098 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.2152, allocations: 1.982 MB / 0.7261 GB, free: 7.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.4, allocations: 14.61 kB / 0.7261 GB, free: 7.258 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.280965864658356] Failed to read output from testmodel.py, exit status != 0: 11.512331475969404 11.543188359 11.356884243 Calling exit ...