Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001257/0.001257, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.001413/0.001413, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.528/1.528, 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/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9691/0.9691, allocations: 150 MB / 459.5 MB, free: 5.312 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002006/0.002006, allocations: 75.45 kB / 0.6361 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1765, allocations: 89.13 MB / 0.7232 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002773/0.1793, allocations: 1.453 MB / 0.7246 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009152/0.1802, allocations: 0.5088 MB / 0.7251 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.1802, allocations: 0 / 0.7251 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.1802, allocations: 0 / 0.7251 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.9e-05/0.1803, allocations: 7.938 kB / 0.7251 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.1805, allocations: 23.92 kB / 0.7251 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.86e-05/0.1806, allocations: 23.92 kB / 0.7251 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.613e-05/0.1806, allocations: 7.938 kB / 0.7251 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.1807, allocations: 11.98 kB / 0.7252 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.148e-05/0.1807, allocations: 19.91 kB / 0.7252 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1808, allocations: 4 kB / 0.7252 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.211e-05/0.1808, allocations: 19.98 kB / 0.7252 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.879e-06/0.1808, allocations: 3.938 kB / 0.7252 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.1809, allocations: 11.94 kB / 0.7252 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.181, allocations: 40.09 kB / 0.7253 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.181, allocations: 0 / 0.7253 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.116e-06/0.181, allocations: 4 kB / 0.7253 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.181, allocations: 0 / 0.7253 GB, free: 1.945 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004777/0.1815, allocations: 343.4 kB / 0.7256 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1815, allocations: 12.03 kB / 0.7256 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.1815, allocations: 30.75 kB / 0.7256 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.1818, allocations: 16.91 kB / 0.7256 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1819, allocations: 164.3 kB / 0.7258 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1819, allocations: 384 / 0.7258 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.182, allocations: 8.375 kB / 0.7258 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1821, allocations: 53.8 kB / 0.7259 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.1822, allocations: 7.938 kB / 0.7259 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1822, allocations: 4 kB / 0.7259 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1822, allocations: 0 / 0.7259 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.1824, allocations: 35.95 kB / 0.7259 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.1828, allocations: 256.9 kB / 0.7261 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.183, allocations: 46.55 kB / 0.7262 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.1831, allocations: 20.91 kB / 0.7262 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1831, allocations: 0 / 0.7262 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1831, allocations: 38.5 kB / 0.7262 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1831, allocations: 0 / 0.7262 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003956/0.1835, allocations: 85.73 kB / 0.7263 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.1835, allocations: 51.41 kB / 0.7264 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.1836, allocations: 109.8 kB / 0.7265 GB, free: 496 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1837, allocations: 25.7 kB / 0.7265 GB, free: 464 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.1837, allocations: 88.09 kB / 0.7266 GB, free: 372 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1837, allocations: 15.83 kB / 0.7266 GB, free: 356 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.1838, allocations: 13.7 kB / 0.7266 GB, free: 336 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1839, allocations: 322.8 kB / 0.7269 GB, free: 4 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.184, allocations: 16.02 kB / 0.7269 GB, free: 15.99 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.65e-05/0.1841, allocations: 23.92 kB / 0.727 GB, free: 15.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.1843, allocations: 44.81 kB / 0.727 GB, free: 15.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1843, allocations: 0 / 0.727 GB, free: 15.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002255/0.1845, allocations: 69.72 kB / 0.7271 GB, free: 15.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1845, allocations: 8 kB / 0.7271 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1846, allocations: 0 / 0.7271 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1846, allocations: 3.984 kB / 0.7271 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1847, allocations: 15.98 kB / 0.7271 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1847, allocations: 0 / 0.7271 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.1848, allocations: 4 kB / 0.7271 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.1848, allocations: 0 / 0.7271 GB, free: 15.81 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 9.975e-05/0.1849, allocations: 125.7 kB / 0.7272 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.1849, allocations: 0 / 0.7272 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.1849, allocations: 7.125 kB / 0.7272 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1849, allocations: 0 / 0.7272 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1849, allocations: 0 / 0.7272 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1849, allocations: 4 kB / 0.7272 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1851, allocations: 161.6 kB / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1851, allocations: 0 / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.181e-05/0.1852, allocations: 11.98 kB / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1852, allocations: 4 kB / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1852, allocations: 256 / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1852, allocations: 0 / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.1852, allocations: 4 kB / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.1855, allocations: 171.4 kB / 0.7276 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.1856, allocations: 77.11 kB / 0.7276 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1856, allocations: 4.031 kB / 0.7276 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1857, allocations: 7.984 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1857, allocations: 8 kB / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.1857, allocations: 3.938 kB / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.1858, allocations: 83.27 kB / 0.7277 GB, free: 15.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1858, allocations: 0 / 0.7277 GB, free: 15.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002173/0.186, allocations: 7.938 kB / 0.7278 GB, free: 15.05 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.0006434/0.1866, allocations: 0.7007 MB / 0.7284 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.1869, allocations: 39.95 kB / 0.7285 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1869, allocations: 0 / 0.7285 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.187, allocations: 28.02 kB / 0.7285 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1873, allocations: 4 kB / 0.7285 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.1878, allocations: 143.1 kB / 0.7286 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1881, allocations: 0.6767 MB / 0.7293 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.938e-05/0.1882, allocations: 4.062 kB / 0.7293 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.1882, allocations: 15.42 kB / 0.7293 GB, free: 13.35 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1882, allocations: 0 / 0.7293 GB, free: 13.35 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.2123, allocations: 1.4 MB / 0.7307 GB, free: 12.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.351, allocations: 16.8 kB / 0.7307 GB, free: 12.03 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.347264473093674] Failed to read output from testmodel.py, exit status != 0: 8.420180884189904 8.442529942 8.257492427 Calling exit ...