Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001332/0.001332, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001561/0.001561, allocations: 209 kB / 22.99 MB, free: 4.977 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9853/0.9853, allocations: 149.9 MB / 463.1 MB, free: 10.31 MB / 366.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.00345/0.00345, allocations: 65.11 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1926, allocations: 89.18 MB / 0.7282 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001925/0.1945, allocations: 0.5863 MB / 0.7288 GB, free: 392 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1962, allocations: 1.124 MB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.1962, allocations: 0 / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.1963, allocations: 4 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.1965, allocations: 15.92 kB / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.1965, allocations: 0 / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.7e-05/0.1965, allocations: 7.938 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.1966, allocations: 7.922 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.222e-05/0.1966, allocations: 4 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.802e-05/0.1966, allocations: 4 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.432e-06/0.1966, allocations: 0 / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.774e-05/0.1967, allocations: 15.98 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.1967, allocations: 3.984 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.1967, allocations: 11.81 kB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.763e-05/0.1968, allocations: 12.28 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1968, allocations: 0 / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1968, allocations: 0 / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1968, allocations: 0 / 0.73 GB, free: 15.16 MB / 0.5606 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.000269/0.1971, allocations: 238.4 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1971, allocations: 16.03 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.1972, allocations: 30.75 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.1974, allocations: 20.91 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.732e-05/0.1975, allocations: 106.5 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1975, allocations: 384 / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1975, allocations: 4.375 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.1976, allocations: 41.8 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1976, allocations: 4 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1976, allocations: 3.938 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1976, allocations: 0 / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.851e-05/0.1977, allocations: 11.98 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.1978, allocations: 124.7 kB / 0.7305 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.198, allocations: 30.61 kB / 0.7306 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.198, allocations: 12.86 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.198, allocations: 0 / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1981, allocations: 38.44 kB / 0.7306 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1981, allocations: 0 / 0.7306 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.004033/0.2021, allocations: 0.5482 MB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.2022, allocations: 55.39 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.2022, allocations: 93.8 kB / 0.7313 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.2022, allocations: 25.7 kB / 0.7313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.2023, allocations: 80.14 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.896e-05/0.2024, allocations: 23.8 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.2024, allocations: 25.7 kB / 0.7314 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2026, allocations: 310.8 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00061/0.2032, allocations: 79.95 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/0.2039, allocations: 106.5 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.205, allocations: 190.4 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.205, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001287/0.2063, allocations: 221.5 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.2064, allocations: 6.031 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2064, allocations: 0 / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.2064, allocations: 4 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.2068, allocations: 48 kB / 0.7324 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.2068, allocations: 4 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.2072, allocations: 43.91 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.2072, allocations: 4 kB / 0.7324 GB, free: 12.44 MB / 0.5606 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 (5): * Single equations (assignments): 5 * 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.0001595/0.2074, allocations: 113.8 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.2074, allocations: 7.938 kB / 0.7325 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.984e-05/0.2075, allocations: 11.59 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2075, allocations: 0 / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.2075, allocations: 0 / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2075, allocations: 11.92 kB / 0.7326 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.2092, allocations: 413.5 kB / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2092, allocations: 0 / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.2096, allocations: 55.97 kB / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2096, allocations: 0 / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.2096, allocations: 0 / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2096, allocations: 0 / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2096, allocations: 3.938 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.2109, allocations: 311.7 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.2109, allocations: 8.422 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.2109, allocations: 0 / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.2113, allocations: 47.97 kB / 0.7334 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.2113, allocations: 0 / 0.7334 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.2113, allocations: 3.938 kB / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.702e-05/0.2114, allocations: 79.28 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2114, allocations: 0 / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002413/0.2116, allocations: 8 kB / 0.7334 GB, free: 11.31 MB / 0.5606 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 (5): * Single equations (assignments): 5 * 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.001731/0.2133, allocations: 0.8373 MB / 0.7343 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.2146, allocations: 176 kB / 0.7344 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2146, allocations: 0 / 0.7344 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005984/0.2152, allocations: 92.02 kB / 0.7345 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.2154, allocations: 7.984 kB / 0.7345 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.2167, allocations: 250.4 kB / 0.7348 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.671e-05/0.2168, allocations: 59.36 kB / 0.7348 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.217, allocations: 35.98 kB / 0.7349 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.2171, allocations: 7.438 kB / 0.7349 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.2171, allocations: 0 / 0.7349 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.2506, allocations: 2.106 MB / 0.7369 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.56, allocations: 7.531 kB / 0.7369 GB, free: 7.801 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.498895056080073] Failed to read output from testmodel.py, exit status != 0: 11.669702689163387 11.694018812 11.492284722 Calling exit ...