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.0009714/0.0009714, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002259, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001069/0.001069, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.00235, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.017/1.017, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08774/1.104, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001413/0.001413, allocations: 237.5 kB / 244.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001805/0.003218, allocations: 467.5 kB / 244.6 MB, free: 14.19 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7156/0.7156, allocations: 138.7 MB / 384.1 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07295/0.7886, allocations: 42.4 MB / 426.5 MB, free: 5.953 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 427.9 MB, free: 4.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.973e-05, allocations: 2.312 kB / 427.9 MB, free: 4.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001268/0.001288, allocations: 0.6547 MB / 428.5 MB, free: 3.906 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.002336, allocations: 1.163 MB / 429.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.658e-05/0.002353, allocations: 0 / 429.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.018e-06/0.002357, allocations: 4 kB / 429.7 MB, free: 2.723 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.331e-05/0.00245, allocations: 23.8 kB / 429.7 MB, free: 2.699 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.835e-06/0.002453, allocations: 0 / 429.7 MB, free: 2.699 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.388e-05/0.002487, allocations: 4 kB / 429.7 MB, free: 2.695 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.002521, allocations: 0 / 429.7 MB, free: 2.695 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.016e-05/0.002552, allocations: 11.92 kB / 429.7 MB, free: 2.684 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.545e-05/0.002577, allocations: 0 / 429.7 MB, free: 2.684 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.002585, allocations: 0 / 429.7 MB, free: 2.684 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.163e-05/0.002677, allocations: 19.92 kB / 429.7 MB, free: 2.664 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-06/0.002683, allocations: 0 / 429.7 MB, free: 2.664 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.017e-06/0.002692, allocations: 8 kB / 429.7 MB, free: 2.656 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.537e-05/0.002757, allocations: 11.92 kB / 429.8 MB, free: 2.645 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.351e-05/0.00277, allocations: 0 / 429.8 MB, free: 2.645 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.002771, allocations: 0 / 429.8 MB, free: 2.645 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.002785, allocations: 0 / 429.8 MB, free: 2.645 MB / 410.7 MB 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.0002/0.002985, allocations: 224.7 kB / 430 MB, free: 2.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.003015, allocations: 15.98 kB / 430 MB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.003044, allocations: 4.938 kB / 430 MB, free: 2.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.983e-05/0.003104, allocations: 105.8 kB / 430.1 MB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.003113, allocations: 384 / 430.1 MB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.003131, allocations: 4.375 kB / 430.1 MB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.726e-05/0.003198, allocations: 38.25 kB / 430.1 MB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.003206, allocations: 4.125 kB / 430.1 MB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-06/0.003212, allocations: 384 / 430.1 MB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.003218, allocations: 3.938 kB / 430.1 MB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.766e-05/0.003245, allocations: 4 kB / 430.1 MB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.744e-05/0.003313, allocations: 57.05 kB / 430.2 MB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.003449, allocations: 34.61 kB / 430.2 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.05e-05/0.00346, allocations: 4.859 kB / 430.2 MB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.632e-05/0.003546, allocations: 8.078 kB / 430.3 MB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.003564, allocations: 38.55 kB / 430.3 MB, free: 2.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.003565, allocations: 4 kB / 430.3 MB, free: 2.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008601/0.004425, allocations: 347.1 kB / 430.6 MB, free: 1.648 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.004451, allocations: 51.41 kB / 430.7 MB, free: 1.586 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.55e-05/0.004477, allocations: 97.8 kB / 430.8 MB, free: 1.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.004491, allocations: 29.7 kB / 430.8 MB, free: 1.445 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.711e-05/0.004508, allocations: 88.12 kB / 430.9 MB, free: 1.355 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.004535, allocations: 7.906 kB / 430.9 MB, free: 1.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.004568, allocations: 25.64 kB / 430.9 MB, free: 1.316 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.00475, allocations: 314.8 kB / 431.2 MB, free: 1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.87e-05/0.004778, allocations: 4 kB / 431.2 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.676e-05/0.004815, allocations: 30.55 kB / 431.3 MB, free: 0.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.374e-05/0.004879, allocations: 38.5 kB / 431.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.00488, allocations: 0 / 431.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.393e-05/0.004964, allocations: 53.66 kB / 431.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.004974, allocations: 4 kB / 431.4 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.004981, allocations: 4 kB / 431.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/0.004988, allocations: 0 / 431.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.005122, allocations: 40.03 kB / 431.4 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.005125, allocations: 0 / 431.4 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.005197, allocations: 19.94 kB / 431.4 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.005205, allocations: 7.984 kB / 431.4 MB, free: 0.7773 MB / 410.7 MB 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 4.786e-05/0.005253, allocations: 105.8 kB / 431.5 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.005265, allocations: 11.94 kB / 431.5 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.005396, allocations: 73.3 kB / 431.6 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.005397, allocations: 4 kB / 431.6 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.005399, allocations: 0 / 431.6 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.005404, allocations: 7.922 kB / 431.6 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.005603, allocations: 210.9 kB / 431.8 MB, free: 344 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.005604, allocations: 0 / 431.8 MB, free: 344 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.005714, allocations: 31.98 kB / 431.9 MB, free: 312 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-06/0.005717, allocations: 0 / 431.9 MB, free: 312 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.00572, allocations: 4 kB / 431.9 MB, free: 308 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.005729, allocations: 7.922 kB / 431.9 MB, free: 300 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.005731, allocations: 4 kB / 431.9 MB, free: 296 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005732, allocations: 0 / 431.9 MB, free: 296 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.913e-05/0.005831, allocations: 139.5 kB / 432 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.005843, allocations: 7.938 kB / 432 MB, free: 132 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.005929, allocations: 19.98 kB / 432 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.005939, allocations: 3.938 kB / 432 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.005946, allocations: 4 kB / 432.1 MB, free: 104 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.404e-06/0.005953, allocations: 4.859 kB / 432.1 MB, free: 96 kB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005953, allocations: 0 / 432.1 MB, free: 96 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.000131/0.006084, allocations: 12 kB / 432.1 MB, free: 84 kB / 410.7 MB 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.1681/0.1742, allocations: 90.69 kB / 432.2 MB, free: 2.789 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.1744, allocations: 26.53 kB / 432.2 MB, free: 2.781 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.1744, allocations: 0.5 kB / 432.2 MB, free: 2.781 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.1744, allocations: 18.31 kB / 432.2 MB, free: 2.773 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.1745, allocations: 8.453 kB / 432.2 MB, free: 2.773 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.1749, allocations: 123.9 kB / 432.3 MB, free: 2.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.276e-05/0.1749, allocations: 57.45 kB / 432.4 MB, free: 2.609 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.175, allocations: 26.94 kB / 432.4 MB, free: 2.609 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.1751, allocations: 56.36 kB / 432.5 MB, free: 2.566 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1751, allocations: 2.625 kB / 432.5 MB, free: 2.566 MB / 410.7 MB Notification: Performance of Templates: time 0.00246/0.1776, allocations: 0.9262 MB / 433.4 MB, free: 2.562 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4346004109829664]