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.001716/0.001716, allocations: 78.88 kB / 19.18 MB, free: 2.527 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.002079/0.002079, allocations: 169.1 kB / 22.46 MB, free: 5.371 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.424/1.424, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.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.002536/0.002536, allocations: 255.4 kB / 259.4 MB, free: 460 kB / 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.084/1.084, allocations: 138.4 MB / 454.3 MB, free: 2.027 MB / 366.1 MB " [Timeout remaining time 179] 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: 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.172e-06/1.172e-06, allocations: 0 / 0.6468 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.382e-05, allocations: 6.219 kB / 0.6469 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001397/0.001421, allocations: 0.6003 MB / 0.6474 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.002933, allocations: 1.133 MB / 0.6485 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.002962, allocations: 0 / 0.6485 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.002978, allocations: 0 / 0.6485 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.003219, allocations: 23.8 kB / 0.6486 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.003223, allocations: 0 / 0.6486 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.897e-05/0.003262, allocations: 0 / 0.6486 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.003308, allocations: 11.94 kB / 0.6486 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.133e-05/0.00333, allocations: 0 / 0.6486 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.396e-05/0.003354, allocations: 7.984 kB / 0.6486 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.003365, allocations: 4 kB / 0.6486 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.003465, allocations: 11.92 kB / 0.6486 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.425e-06/0.003473, allocations: 4 kB / 0.6486 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.067e-05/0.003484, allocations: 0 / 0.6486 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.423e-05/0.003568, allocations: 15.97 kB / 0.6486 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.003571, allocations: 3.938 kB / 0.6486 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003571, allocations: 0 / 0.6486 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.00358, allocations: 0 / 0.6486 GB, free: 3.141 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.0002913/0.003871, allocations: 246.3 kB / 0.6489 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.003909, allocations: 8.75 kB / 0.6489 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.003937, allocations: 8.938 kB / 0.6489 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.453e-05/0.004022, allocations: 105.8 kB / 0.649 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.00403, allocations: 384 / 0.649 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.004054, allocations: 384 / 0.649 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.004167, allocations: 34.25 kB / 0.649 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.004183, allocations: 8.188 kB / 0.649 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.004191, allocations: 384 / 0.649 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.004197, allocations: 3.938 kB / 0.649 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.68e-05/0.004234, allocations: 7.984 kB / 0.649 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.004369, allocations: 105.2 kB / 0.6491 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.004543, allocations: 34.61 kB / 0.6492 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.004569, allocations: 8.859 kB / 0.6492 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.004685, allocations: 12.08 kB / 0.6492 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.004711, allocations: 30.56 kB / 0.6492 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.004712, allocations: 4 kB / 0.6492 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.004382/0.009095, allocations: 0.5754 MB / 0.6498 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.009139, allocations: 51.41 kB / 0.6498 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.557e-05/0.009185, allocations: 89.86 kB / 0.6499 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.009211, allocations: 29.7 kB / 0.6499 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.009246, allocations: 80.14 kB / 0.65 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.009297, allocations: 15.91 kB / 0.65 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.009357, allocations: 17.7 kB / 0.65 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.009497, allocations: 314.8 kB / 0.6503 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006263/0.01012, allocations: 83.95 kB / 0.6504 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/0.01078, allocations: 110.5 kB / 0.6505 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.012, allocations: 182.5 kB / 0.6507 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.012, allocations: 0 / 0.6507 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001311/0.01331, allocations: 213.6 kB / 0.6509 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01332, allocations: 11.94 kB / 0.6509 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01333, allocations: 0 / 0.6509 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.01334, allocations: 4.031 kB / 0.6509 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.01375, allocations: 55.84 kB / 0.651 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.01376, allocations: 4 kB / 0.651 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.01411, allocations: 39.97 kB / 0.651 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.01412, allocations: 7.938 kB / 0.651 GB, free: 500 kB / 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.0001032/0.01423, allocations: 117.8 kB / 0.6511 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.01425, allocations: 3.953 kB / 0.6511 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.01566, allocations: 237.2 kB / 0.6514 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01566, allocations: 0 / 0.6514 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.01567, allocations: 3.938 kB / 0.6514 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01567, allocations: 3.938 kB / 0.6514 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2456/0.2613, allocations: 389.6 kB / 0.6518 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2613, allocations: 3.5 kB / 0.6518 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.2617, allocations: 45.41 kB / 0.6518 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.2617, allocations: 7.219 kB / 0.6518 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2617, allocations: 1.5 kB / 0.6518 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2617, allocations: 0.6875 kB / 0.6518 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2617, allocations: 2.828 kB / 0.6518 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.263, allocations: 307.1 kB / 0.6521 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.263, allocations: 11.33 kB / 0.6521 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.263, allocations: 0.625 kB / 0.6521 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.2634, allocations: 41.31 kB / 0.6522 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.2634, allocations: 2.203 kB / 0.6522 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.2635, allocations: 4.25 kB / 0.6522 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 1.235e-05/0.2635, allocations: 76.17 kB / 0.6522 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2635, allocations: 0 / 0.6522 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002572/0.2637, allocations: 12.25 kB / 0.6522 GB, free: 56.61 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.0001687/0.2639, allocations: 104.4 kB / 0.6523 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.2652, allocations: 178.5 kB / 0.6525 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2652, allocations: 0 / 0.6525 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006006/0.2658, allocations: 92.67 kB / 0.6526 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.266, allocations: 5.281 kB / 0.6526 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.2671, allocations: 228 kB / 0.6528 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.41e-05/0.2672, allocations: 58.47 kB / 0.6529 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.2673, allocations: 31.31 kB / 0.6529 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.2674, allocations: 9.125 kB / 0.6529 GB, free: 56.34 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2674, allocations: 0 / 0.6529 GB, free: 56.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.002887/0.2703, allocations: 0.8276 MB / 0.6537 GB, free: 56.31 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.740101005882025] Failed to read output from testmodel.py, exit status != 0: 0.2777700200676918 0.28672082599999993 0.28099509599999994 Calling exit ...