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.001904/0.001904, allocations: 119 kB / 19.69 MB, free: 2.199 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.002216/0.002216, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.9672/0.9672, allocations: 150 MB / 463.2 MB, free: 10.47 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.002083/0.002083, allocations: 70.44 kB / 0.6413 GB, free: 10.27 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2183, allocations: 89.17 MB / 0.7284 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001739/0.2201, allocations: 0.5928 MB / 0.729 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.2217, allocations: 1.171 MB / 0.7301 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.2217, allocations: 0 / 0.7301 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.2217, allocations: 4 kB / 0.7301 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.222, allocations: 23.92 kB / 0.7301 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.222, allocations: 0 / 0.7301 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.528e-05/0.222, allocations: 0 / 0.7301 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.2221, allocations: 4 kB / 0.7301 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.377e-05/0.2221, allocations: 3.938 kB / 0.7301 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.536e-05/0.2221, allocations: 7.922 kB / 0.7302 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.764e-06/0.2221, allocations: 0 / 0.7302 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.2222, allocations: 19.97 kB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.874e-06/0.2222, allocations: 4 kB / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.2223, allocations: 7.938 kB / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.304e-05/0.2223, allocations: 16.25 kB / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2223, allocations: 0 / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2223, allocations: 0 / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2224, allocations: 0 / 0.7302 GB, free: 15.31 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.0003033/0.2227, allocations: 242.4 kB / 0.7304 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2227, allocations: 11.97 kB / 0.7304 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.2227, allocations: 30.75 kB / 0.7305 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.223, allocations: 16.91 kB / 0.7305 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.993e-05/0.2231, allocations: 106.5 kB / 0.7306 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2231, allocations: 8.375 kB / 0.7306 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.2231, allocations: 384 / 0.7306 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.2233, allocations: 41.81 kB / 0.7306 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2233, allocations: 0 / 0.7306 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.2233, allocations: 0 / 0.7306 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2233, allocations: 3.938 kB / 0.7306 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.216e-05/0.2233, allocations: 15.97 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.2235, allocations: 124.8 kB / 0.7308 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.2237, allocations: 34.58 kB / 0.7308 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.772e-05/0.2237, allocations: 12.94 kB / 0.7308 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2237, allocations: 0 / 0.7308 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.2238, allocations: 34.5 kB / 0.7309 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.2238, allocations: 7.938 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.004028/0.2278, allocations: 0.5364 MB / 0.7314 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.2278, allocations: 51.41 kB / 0.7314 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.2279, allocations: 93.8 kB / 0.7315 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.2279, allocations: 29.7 kB / 0.7316 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.228, allocations: 84.14 kB / 0.7316 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.228, allocations: 19.8 kB / 0.7317 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.2281, allocations: 21.7 kB / 0.7317 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2282, allocations: 310.8 kB / 0.732 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006153/0.2288, allocations: 87.95 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.2294, allocations: 102.5 kB / 0.7322 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.2306, allocations: 194.4 kB / 0.7323 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2306, allocations: 0 / 0.7323 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001279/0.2319, allocations: 213.7 kB / 0.7325 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2319, allocations: 8 kB / 0.7325 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2319, allocations: 4 kB / 0.7326 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2319, allocations: 3.984 kB / 0.7326 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.2324, allocations: 52 kB / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2324, allocations: 0 / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.2327, allocations: 43.98 kB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.2327, allocations: 3.938 kB / 0.7327 GB, free: 12.59 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.0001041/0.2328, allocations: 111.8 kB / 0.7328 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.2329, allocations: 7.922 kB / 0.7328 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.2329, allocations: 15.59 kB / 0.7328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2329, allocations: 0 / 0.7328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2329, allocations: 0 / 0.7328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2329, allocations: 4 kB / 0.7328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.2345, allocations: 425.5 kB / 0.7332 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2345, allocations: 0 / 0.7332 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.2349, allocations: 51.97 kB / 0.7332 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2349, allocations: 0 / 0.7332 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.235, allocations: 0 / 0.7332 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.235, allocations: 0 / 0.7332 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.235, allocations: 7.938 kB / 0.7332 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.2362, allocations: 311.3 kB / 0.7335 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.2362, allocations: 4 kB / 0.7335 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.2363, allocations: 3.984 kB / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.2366, allocations: 39.98 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.2367, allocations: 0 / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.2367, allocations: 7.984 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.2367, allocations: 75.28 kB / 0.7337 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.2367, allocations: 0 / 0.7337 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002408/0.237, allocations: 8 kB / 0.7337 GB, free: 11.46 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.001621/0.2386, allocations: 0.8452 MB / 0.7345 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.2398, allocations: 180 kB / 0.7347 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2398, allocations: 0 / 0.7347 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005903/0.2404, allocations: 95.94 kB / 0.7348 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.2406, allocations: 0 / 0.7348 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.2419, allocations: 246.4 kB / 0.735 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.2423, allocations: 0.6807 MB / 0.7357 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001785/0.2424, allocations: 28 kB / 0.7357 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.165e-05/0.2425, allocations: 19.42 kB / 0.7357 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.2425, allocations: 0 / 0.7357 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.2712, allocations: 1.707 MB / 0.7374 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.97, allocations: 3.156 kB / 0.7374 GB, free: 7.723 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.881509874001495] Failed to read output from testmodel.py, exit status != 0: 11.080717297001684 11.108957241 10.881518809 Calling exit ...