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.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.001775/0.001775, allocations: 111.4 kB / 16.4 MB, free: 6.508 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.001793/0.001793, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.434/1.434, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.9305/0.9305, allocations: 143.3 MB / 440.5 MB, free: 11.23 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.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: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 72.11 kB / 0.6038 GB, free: 11.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.177, allocations: 82.03 MB / 0.6839 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002652/0.1797, allocations: 1.432 MB / 0.6853 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007687/0.1805, allocations: 471.8 kB / 0.6858 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.1805, allocations: 0 / 0.6858 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.1806, allocations: 3.938 kB / 0.6858 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.1806, allocations: 3.938 kB / 0.6858 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.1809, allocations: 23.97 kB / 0.6858 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.23e-05/0.1809, allocations: 27.86 kB / 0.6858 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.181, allocations: 8 kB / 0.6858 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.09e-05/0.1811, allocations: 15.92 kB / 0.6859 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.944e-05/0.1811, allocations: 11.94 kB / 0.6859 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1812, allocations: 0 / 0.6859 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.737e-05/0.1812, allocations: 23.97 kB / 0.6859 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.1813, allocations: 3.984 kB / 0.6859 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.1813, allocations: 11.94 kB / 0.6859 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.1814, allocations: 36.11 kB / 0.6859 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1814, allocations: 0 / 0.6859 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1814, allocations: 0 / 0.6859 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1814, allocations: 4 kB / 0.6859 GB, free: 7.605 MB / 0.5137 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.0004402/0.1819, allocations: 343.4 kB / 0.6863 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1819, allocations: 8.031 kB / 0.6863 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.182, allocations: 30.75 kB / 0.6863 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.1821, allocations: 4.938 kB / 0.6863 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1822, allocations: 168.3 kB / 0.6865 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1822, allocations: 384 / 0.6865 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.1822, allocations: 12.36 kB / 0.6865 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1824, allocations: 49.81 kB / 0.6865 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1824, allocations: 0 / 0.6865 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1824, allocations: 4 kB / 0.6865 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1824, allocations: 0 / 0.6865 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.1826, allocations: 35.95 kB / 0.6866 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.183, allocations: 256.9 kB / 0.6868 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1831, allocations: 42.5 kB / 0.6869 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.1833, allocations: 24.84 kB / 0.6869 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.1834, allocations: 85.09 kB / 0.687 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1835, allocations: 34.56 kB / 0.687 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1835, allocations: 3.938 kB / 0.687 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003763/0.1838, allocations: 85.58 kB / 0.6871 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1839, allocations: 55.41 kB / 0.6871 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.184, allocations: 97.86 kB / 0.6872 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.184, allocations: 25.7 kB / 0.6873 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.1841, allocations: 92.08 kB / 0.6873 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.1841, allocations: 7.891 kB / 0.6873 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.1841, allocations: 13.84 kB / 0.6874 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1843, allocations: 322.8 kB / 0.6877 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-05/0.1843, allocations: 19.97 kB / 0.6877 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.1844, allocations: 11.98 kB / 0.6877 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.1846, allocations: 36.83 kB / 0.6877 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1846, allocations: 4.062 kB / 0.6877 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001949/0.1848, allocations: 73.59 kB / 0.6878 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1848, allocations: 4 kB / 0.6878 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1848, allocations: 0 / 0.6878 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1849, allocations: 4 kB / 0.6878 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.1849, allocations: 7.984 kB / 0.6878 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.185, allocations: 0 / 0.6878 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.185, allocations: 7.984 kB / 0.6878 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.185, allocations: 4.031 kB / 0.6878 GB, free: 5.418 MB / 0.5137 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.711e-05/0.1851, allocations: 118.6 kB / 0.6879 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.1851, allocations: 0 / 0.6879 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.1854, allocations: 72.78 kB / 0.688 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.1854, allocations: 0 / 0.688 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.1854, allocations: 3.938 kB / 0.688 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1854, allocations: 0 / 0.688 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.1856, allocations: 165.6 kB / 0.6882 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1856, allocations: 0 / 0.6882 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/0.1857, allocations: 8 kB / 0.6882 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1857, allocations: 0 / 0.6882 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.1857, allocations: 0 / 0.6882 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1857, allocations: 3.984 kB / 0.6882 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1857, allocations: 0 / 0.6882 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.186, allocations: 167.7 kB / 0.6884 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.186, allocations: 89.03 kB / 0.6884 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.1861, allocations: 4 kB / 0.6884 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.1861, allocations: 4 kB / 0.6884 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.1862, allocations: 3.984 kB / 0.6884 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.1862, allocations: 3.938 kB / 0.6885 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.1862, allocations: 83.28 kB / 0.6885 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.108e-05/0.1863, allocations: 0 / 0.6885 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002215/0.1865, allocations: 15.97 kB / 0.6885 GB, free: 4.594 MB / 0.5137 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.000586/0.1871, allocations: 0.7006 MB / 0.6892 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1873, allocations: 36 kB / 0.6893 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1873, allocations: 0 / 0.6893 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/0.1874, allocations: 23.92 kB / 0.6893 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.1877, allocations: 7.984 kB / 0.6893 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.1881, allocations: 139.1 kB / 0.6894 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.1884, allocations: 0.6808 MB / 0.6901 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.1884, allocations: 0 / 0.6901 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.1885, allocations: 11.44 kB / 0.6901 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of SimCode: time 7.71e-07/0.1885, allocations: 0 / 0.6901 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.2109, allocations: 1.432 MB / 0.6915 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.186, allocations: 3.828 kB / 0.6915 GB, free: 1.566 MB / 0.5137 GB " [Timeout remaining time 652] (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: 12.143477161996998] Failed to read output from testmodel.py, exit status != 0: 8.252407466992736 8.265728178 8.081950227 Calling exit ...