Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.00132/0.00132, allocations: 79.83 kB / 19.18 MB, free: 2.516 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.00148/0.00148, allocations: 164.6 kB / 22.46 MB, free: 5.375 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.42/1.42, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.002465/0.002465, allocations: 237.3 kB / 259.4 MB, free: 464 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.083/1.083, allocations: 138.4 MB / 454.3 MB, free: 2.012 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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6468 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.567e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002944/0.00297, allocations: 1.766 MB / 0.6485 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.004236, allocations: 0.694 MB / 0.6492 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.004298, allocations: 4 kB / 0.6492 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.531e-05/0.004343, allocations: 15.8 kB / 0.6492 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.809e-05/0.004412, allocations: 7.875 kB / 0.6492 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.005007, allocations: 198.6 kB / 0.6494 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.005199, allocations: 127.6 kB / 0.6495 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.005335, allocations: 37.61 kB / 0.6496 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.005529, allocations: 91.78 kB / 0.6497 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.154e-05/0.00561, allocations: 35.89 kB / 0.6497 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.005644, allocations: 8 kB / 0.6497 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.005765, allocations: 51.95 kB / 0.6498 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.00581, allocations: 35.83 kB / 0.6498 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.005874, allocations: 43.89 kB / 0.6498 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.006135, allocations: 163.5 kB / 0.65 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.006138, allocations: 0 / 0.65 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006139, allocations: 3.938 kB / 0.65 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.006143, allocations: 3.938 kB / 0.65 GB, free: 1.699 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006509/0.006793, allocations: 373.6 kB / 0.6504 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.006834, allocations: 9.344 kB / 0.6504 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.007917, allocations: 132.6 kB / 0.6505 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.008198, allocations: 154.1 kB / 0.6506 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.008338, allocations: 119.4 kB / 0.6508 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.008359, allocations: 4.375 kB / 0.6508 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.008998, allocations: 225.2 kB / 0.651 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.009012, allocations: 3.938 kB / 0.651 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.009035, allocations: 0 / 0.651 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.009043, allocations: 4 kB / 0.651 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006933/0.009737, allocations: 159.8 kB / 0.6511 GB, free: 456 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.01086, allocations: 401.5 kB / 0.6515 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2559/0.2668, allocations: 210.8 kB / 0.6517 GB, free: 56.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.2671, allocations: 77.56 kB / 0.6518 GB, free: 56.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.2672, allocations: 4.547 kB / 0.6518 GB, free: 56.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.2672, allocations: 33.52 kB / 0.6518 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.2672, allocations: 0 / 0.6518 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.001095/0.2683, allocations: 264.7 kB / 0.6521 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.2683, allocations: 56.59 kB / 0.6521 GB, free: 56.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.2684, allocations: 144 kB / 0.6523 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.2684, allocations: 27.83 kB / 0.6523 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.2685, allocations: 113.9 kB / 0.6524 GB, free: 56.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.2685, allocations: 18.08 kB / 0.6524 GB, free: 56.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.2686, allocations: 24.42 kB / 0.6524 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.2686, allocations: 326.4 kB / 0.6528 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.2689, allocations: 79 kB / 0.6528 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.2692, allocations: 92.28 kB / 0.6529 GB, free: 56.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.2698, allocations: 162.8 kB / 0.6531 GB, free: 56.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2698, allocations: 0.625 kB / 0.6531 GB, free: 56.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006902/0.2705, allocations: 207.3 kB / 0.6533 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2705, allocations: 6.109 kB / 0.6533 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2705, allocations: 0 / 0.6533 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2705, allocations: 3.594 kB / 0.6533 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.2708, allocations: 39.78 kB / 0.6533 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2708, allocations: 0 / 0.6533 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.271, allocations: 30.81 kB / 0.6534 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.271, allocations: 4.156 kB / 0.6534 GB, free: 56.15 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 (8): * Single equations (assignments): 8 * 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 7.094e-05/0.2711, allocations: 118.8 kB / 0.6535 GB, free: 56.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.2711, allocations: 7.547 kB / 0.6535 GB, free: 56.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007041/0.2718, allocations: 218.2 kB / 0.6537 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2718, allocations: 0 / 0.6537 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2718, allocations: 0 / 0.6537 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2719, allocations: 0.9688 kB / 0.6537 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.272, allocations: 165.3 kB / 0.6538 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.272, allocations: 0 / 0.6538 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.2722, allocations: 36.83 kB / 0.6539 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2723, allocations: 0 / 0.6539 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2723, allocations: 3.438 kB / 0.6539 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2723, allocations: 0.6875 kB / 0.6539 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2723, allocations: 0 / 0.6539 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/0.2729, allocations: 292.7 kB / 0.6542 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.2729, allocations: 11 kB / 0.6542 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.273, allocations: 3.562 kB / 0.6542 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.2733, allocations: 30.17 kB / 0.6542 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.2733, allocations: 4.688 kB / 0.6542 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.2733, allocations: 9.797 kB / 0.6542 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.2734, allocations: 106.7 kB / 0.6543 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2734, allocations: 0 / 0.6543 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002699/0.2737, allocations: 39.89 kB / 0.6544 GB, free: 55.65 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 (6): * Single equations (assignments): 6 * 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.0001126/0.2738, allocations: 93.53 kB / 0.6544 GB, free: 55.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006832/0.2745, allocations: 166.9 kB / 0.6546 GB, free: 55.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2745, allocations: 7.344 kB / 0.6546 GB, free: 55.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.2748, allocations: 74.64 kB / 0.6547 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.275, allocations: 10.97 kB / 0.6547 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.2756, allocations: 255.8 kB / 0.6549 GB, free: 55.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.061e-05/0.2757, allocations: 88.81 kB / 0.655 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.95e-05/0.2758, allocations: 16.34 kB / 0.655 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.2758, allocations: 15.84 kB / 0.6551 GB, free: 55.31 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2758, allocations: 0 / 0.6551 GB, free: 55.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.003919/0.2797, allocations: 1.534 MB / 0.6566 GB, free: 55.2 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.738434497267008] Failed to read output from testmodel.py, exit status != 0: 0.2873694524168968 0.296374853 0.288056331 Calling exit ...