Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001347/0.001347, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001367/0.001367, allocations: 215 kB / 20.13 MB, free: 2.949 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.463/1.463, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002372/0.002372, allocations: 280.1 kB / 309.8 MB, free: 3.512 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.113/1.113, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002859/0.002859, allocations: 100.3 kB / 0.7347 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5493/0.5522, allocations: 95.35 MB / 0.8278 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001709/0.5539, allocations: 0.5894 MB / 0.8284 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.5551, allocations: 1.172 MB / 0.8295 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.5551, allocations: 3.938 kB / 0.8296 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.5552, allocations: 0 / 0.8296 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.5554, allocations: 14.06 kB / 0.8296 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.697e-06/0.5554, allocations: 0 / 0.8296 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.732e-05/0.5555, allocations: 11.22 kB / 0.8296 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.5555, allocations: 1.547 kB / 0.8296 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.696e-05/0.5555, allocations: 2.625 kB / 0.8296 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.756e-05/0.5556, allocations: 3.984 kB / 0.8296 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.5556, allocations: 4 kB / 0.8296 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.5557, allocations: 17.12 kB / 0.8296 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.442e-06/0.5557, allocations: 3.938 kB / 0.8296 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.5557, allocations: 6.562 kB / 0.8296 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.463e-05/0.5558, allocations: 18.27 kB / 0.8296 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5558, allocations: 2.625 kB / 0.8296 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5558, allocations: 0 / 0.8296 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.5558, allocations: 0 / 0.8296 GB, free: 1.754 MB / 0.5762 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.0002442/0.556, allocations: 319.8 kB / 0.8299 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.5561, allocations: 11.81 kB / 0.83 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.905e-05/0.5561, allocations: 10.81 kB / 0.83 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.658e-05/0.5561, allocations: 31.5 kB / 0.83 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.5561, allocations: 0.9375 kB / 0.83 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.043e-05/0.5562, allocations: 161.9 kB / 0.8301 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.5562, allocations: 3 kB / 0.8302 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.5562, allocations: 384 / 0.8302 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.32e-05/0.5563, allocations: 45.59 kB / 0.8302 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.5563, allocations: 3.938 kB / 0.8302 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.5563, allocations: 0.6562 kB / 0.8302 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.5563, allocations: 4 kB / 0.8302 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.721e-05/0.5564, allocations: 6.766 kB / 0.8302 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.5565, allocations: 154.9 kB / 0.8304 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.5567, allocations: 33.47 kB / 0.8304 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.5567, allocations: 8.234 kB / 0.8304 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.5568, allocations: 90.19 kB / 0.8305 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.5568, allocations: 34.56 kB / 0.8305 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5568, allocations: 0 / 0.8305 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004165/0.561, allocations: 0.5776 MB / 0.8311 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.561, allocations: 51.97 kB / 0.8311 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.699e-05/0.561, allocations: 89.86 kB / 0.8312 GB, free: 488 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.5611, allocations: 25.7 kB / 0.8312 GB, free: 456 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.331e-05/0.5611, allocations: 83.52 kB / 0.8313 GB, free: 372 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.5611, allocations: 17.92 kB / 0.8313 GB, free: 356 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.5612, allocations: 20.97 kB / 0.8314 GB, free: 336 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.5612, allocations: 312.4 kB / 0.8317 GB, free: 16 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006084/0.5618, allocations: 82.5 kB / 0.8317 GB, free: 8 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.5624, allocations: 100 kB / 0.8318 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.5636, allocations: 195.9 kB / 0.832 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5636, allocations: 0.6094 kB / 0.832 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001275/0.5649, allocations: 218.7 kB / 0.8322 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.5649, allocations: 4.031 kB / 0.8322 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5649, allocations: 0 / 0.8322 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.5649, allocations: 2.188 kB / 0.8322 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.5654, allocations: 50.88 kB / 0.8323 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.5654, allocations: 0.6562 kB / 0.8323 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.5658, allocations: 41.16 kB / 0.8323 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.5659, allocations: 7.922 kB / 0.8323 GB, free: 15.86 MB / 0.5919 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.0001311/0.566, allocations: 113.8 kB / 0.8324 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.566, allocations: 5.875 kB / 0.8324 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.5674, allocations: 236 kB / 0.8327 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5674, allocations: 1.625 kB / 0.8327 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5674, allocations: 3.938 kB / 0.8327 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.5674, allocations: 0.5156 kB / 0.8327 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.569, allocations: 467.5 kB / 0.8331 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.569, allocations: 0.5625 kB / 0.8331 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.5694, allocations: 51.38 kB / 0.8332 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.5694, allocations: 1.969 kB / 0.8332 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.5695, allocations: 4.547 kB / 0.8332 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.5695, allocations: 4.312 kB / 0.8332 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5695, allocations: 0 / 0.8332 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.5708, allocations: 307.6 kB / 0.8335 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.5708, allocations: 78.52 kB / 0.8335 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.5708, allocations: 1.469 kB / 0.8335 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.5712, allocations: 41.28 kB / 0.8336 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.5712, allocations: 6.125 kB / 0.8336 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.5712, allocations: 1.938 kB / 0.8336 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.626e-05/0.5713, allocations: 82.47 kB / 0.8337 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5713, allocations: 0 / 0.8337 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002647/0.5715, allocations: 15.25 kB / 0.8337 GB, free: 14.97 MB / 0.5919 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.00171/0.5733, allocations: 0.838 MB / 0.8345 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.5745, allocations: 179 kB / 0.8347 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5745, allocations: 0 / 0.8347 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005962/0.5751, allocations: 92.59 kB / 0.8348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.5754, allocations: 12.42 kB / 0.8348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.5767, allocations: 241.3 kB / 0.835 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.577, allocations: 0.6801 MB / 0.8357 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.5771, allocations: 24.02 kB / 0.8357 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.5772, allocations: 14.58 kB / 0.8357 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.5772, allocations: 4 kB / 0.8357 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.5947, allocations: 1.707 MB / 0.8374 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.714, allocations: 13.72 kB / 0.8374 GB, free: 12.98 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.858993990055751] Failed to read output from testmodel.py, exit status != 0: 8.837534748017788 8.862398396 8.302192971 Calling exit ...