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.001107/0.001107, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008768/0.0008768, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9573/0.9573, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5611/0.5611, allocations: 114 MB / 373.9 MB, free: 8.715 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5543 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.079e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001207/0.001227, allocations: 0.5759 MB / 0.5548 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.002414, allocations: 1.132 MB / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.394e-05/0.002438, allocations: 0 / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.002457, allocations: 3.938 kB / 0.5559 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.002708, allocations: 19.92 kB / 0.5559 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 3.947e-06/0.002712, allocations: 3.938 kB / 0.556 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.257e-05/0.002754, allocations: 0 / 0.556 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.858e-05/0.002803, allocations: 4 kB / 0.556 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.856e-05/0.002832, allocations: 7.922 kB / 0.556 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.488e-05/0.002856, allocations: 7.984 kB / 0.556 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.002866, allocations: 0 / 0.556 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.002968, allocations: 12 kB / 0.556 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.002978, allocations: 0 / 0.556 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.002993, allocations: 7.938 kB / 0.556 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.633e-05/0.00308, allocations: 11.97 kB / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.003082, allocations: 0 / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003083, allocations: 0 / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.003088, allocations: 0 / 0.556 GB, free: 0.9297 MB / 0.5105 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.0002353/0.003323, allocations: 246.4 kB / 0.5562 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.003364, allocations: 12.62 kB / 0.5562 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.598e-05/0.00343, allocations: 34.69 kB / 0.5563 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.003614, allocations: 24.89 kB / 0.5563 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.001e-05/0.003674, allocations: 105.8 kB / 0.5564 GB, free: 464 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.003685, allocations: 8.312 kB / 0.5564 GB, free: 456 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.003706, allocations: 384 / 0.5564 GB, free: 456 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.399e-05/0.0038, allocations: 34.25 kB / 0.5564 GB, free: 416 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.003811, allocations: 192 / 0.5564 GB, free: 416 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.003823, allocations: 4.125 kB / 0.5565 GB, free: 412 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.003828, allocations: 4 kB / 0.5565 GB, free: 408 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.887e-05/0.003867, allocations: 11.98 kB / 0.5565 GB, free: 396 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.003982, allocations: 120.8 kB / 0.5566 GB, free: 232 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.004148, allocations: 38.55 kB / 0.5566 GB, free: 184 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.834e-05/0.004167, allocations: 4.859 kB / 0.5566 GB, free: 176 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.004186, allocations: 4 kB / 0.5566 GB, free: 172 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.004204, allocations: 34.56 kB / 0.5567 GB, free: 128 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.004205, allocations: 0 / 0.5567 GB, free: 128 kB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.001896/0.006101, allocations: 0.5481 MB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.006139, allocations: 51.41 kB / 0.5572 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.839e-05/0.006167, allocations: 93.86 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.006185, allocations: 25.7 kB / 0.5574 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.958e-05/0.006204, allocations: 84.12 kB / 0.5574 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.00624, allocations: 7.906 kB / 0.5574 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.006284, allocations: 29.66 kB / 0.5575 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.936e-05/0.006363, allocations: 318.8 kB / 0.5578 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.006627, allocations: 79.95 kB / 0.5579 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.006894, allocations: 102.5 kB / 0.558 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000524/0.007418, allocations: 194.4 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007419, allocations: 0 / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005693/0.007989, allocations: 213.6 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.008004, allocations: 8 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.008012, allocations: 3.938 kB / 0.5584 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.008025, allocations: 0 / 0.5584 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.008205, allocations: 52 kB / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.008212, allocations: 0 / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.008358, allocations: 43.97 kB / 0.5584 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.008368, allocations: 0 / 0.5584 GB, free: 14.22 MB / 0.5261 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 6.755e-05/0.008436, allocations: 117.8 kB / 0.5586 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.008448, allocations: 3.953 kB / 0.5586 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.008496, allocations: 15.59 kB / 0.5586 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.008498, allocations: 4 kB / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.008504, allocations: 432 / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.008507, allocations: 0 / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009301/0.009438, allocations: 421.7 kB / 0.559 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.009439, allocations: 4 kB / 0.559 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.009603, allocations: 55.91 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.009606, allocations: 0 / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.00962, allocations: 7.969 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.009623, allocations: 4 kB / 0.5591 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.009625, allocations: 0 / 0.5591 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00057/0.01019, allocations: 311.4 kB / 0.5593 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-06/0.0102, allocations: 0 / 0.5593 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.01021, allocations: 0 / 0.5593 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.01037, allocations: 39.98 kB / 0.5594 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.01038, allocations: 3.984 kB / 0.5594 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.01039, allocations: 4 kB / 0.5594 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.979e-05/0.01041, allocations: 75.28 kB / 0.5595 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01041, allocations: 0 / 0.5595 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001648/0.01057, allocations: 12 kB / 0.5595 GB, free: 13.09 MB / 0.5261 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.0008028/0.01138, allocations: 0.8411 MB / 0.5603 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005815/0.01196, allocations: 179.9 kB / 0.5605 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.01196, allocations: 0 / 0.5605 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.01221, allocations: 92.08 kB / 0.5606 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.01238, allocations: 8 kB / 0.5606 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000714/0.01309, allocations: 250.4 kB / 0.5608 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.197e-05/0.01313, allocations: 59.36 kB / 0.5609 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.01325, allocations: 32 kB / 0.5609 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.01332, allocations: 16.48 kB / 0.5609 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/0.01332, allocations: 0 / 0.5609 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.03505, allocations: 2.241 MB / 0.5631 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.931/6.966, allocations: 5.562 kB / 0.5631 GB, free: 9.449 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.601111959666014] Failed to read output from testmodel.py, exit status != 0: 7.045788385905325 7.057157697 7.051923918 Calling exit ...