Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 191.6 kB / 22.23 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.217/1.217, allocations: 177.9 MB / 484.2 MB, free: 5.363 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 69.02 kB / 0.674 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7129/0.7151, allocations: 95.17 MB / 0.7669 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002947/0.718, allocations: 1.801 MB / 0.7687 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.7191, allocations: 0.67 MB / 0.7693 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.7192, allocations: 1.188 kB / 0.7693 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.7192, allocations: 17.22 kB / 0.7694 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.71e-05/0.7193, allocations: 16.06 kB / 0.7694 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.7198, allocations: 166.8 kB / 0.7695 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.72, allocations: 128.7 kB / 0.7697 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.7201, allocations: 38.31 kB / 0.7697 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.7203, allocations: 59.06 kB / 0.7697 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.585e-05/0.7203, allocations: 51.28 kB / 0.7698 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.7204, allocations: 9.75 kB / 0.7698 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.7205, allocations: 54.31 kB / 0.7699 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.7205, allocations: 29.66 kB / 0.7699 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.7206, allocations: 55.22 kB / 0.7699 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.7208, allocations: 146.4 kB / 0.7701 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7208, allocations: 0 / 0.7701 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7208, allocations: 4 kB / 0.7701 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.7208, allocations: 1.188 kB / 0.7701 GB, free: 6.207 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005421/0.7214, allocations: 368.3 kB / 0.7704 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.7214, allocations: 8.969 kB / 0.7704 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008916/0.7223, allocations: 112.6 kB / 0.7705 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.982e-05/0.7224, allocations: 136.2 kB / 0.7707 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.825e-05/0.7225, allocations: 65.42 kB / 0.7707 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.7225, allocations: 9.469 kB / 0.7707 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.723, allocations: 178.3 kB / 0.7709 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7231, allocations: 0 / 0.7709 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.7231, allocations: 5.125 kB / 0.7709 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7231, allocations: 1.156 kB / 0.7709 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/0.7238, allocations: 156.1 kB / 0.7711 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.7249, allocations: 451.2 kB / 0.7715 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.726, allocations: 213.7 kB / 0.7717 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.7264, allocations: 78.59 kB / 0.7718 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.7264, allocations: 6 kB / 0.7718 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.7264, allocations: 35.84 kB / 0.7718 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.7264, allocations: 0 / 0.7718 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.001315/0.7277, allocations: 264 kB / 0.7721 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.7278, allocations: 53.09 kB / 0.7721 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.7279, allocations: 137 kB / 0.7723 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.728, allocations: 30.52 kB / 0.7723 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.728, allocations: 112.9 kB / 0.7724 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.728, allocations: 29.12 kB / 0.7724 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.7281, allocations: 27.86 kB / 0.7724 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.7282, allocations: 324.4 kB / 0.7728 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.7285, allocations: 70.2 kB / 0.7728 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.7288, allocations: 96.36 kB / 0.7729 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/0.7295, allocations: 165.7 kB / 0.7731 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7295, allocations: 0 / 0.7731 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007049/0.7302, allocations: 204.6 kB / 0.7733 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.7302, allocations: 10.88 kB / 0.7733 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.7302, allocations: 1.438 kB / 0.7733 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.7302, allocations: 5.719 kB / 0.7733 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.7305, allocations: 42.95 kB / 0.7733 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7305, allocations: 1.938 kB / 0.7733 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.7307, allocations: 21.33 kB / 0.7733 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.7307, allocations: 4.516 kB / 0.7734 GB, free: 4.125 MB / 0.5762 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 8.537e-05/0.7308, allocations: 118.9 kB / 0.7735 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.7309, allocations: 8.859 kB / 0.7735 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008318/0.7317, allocations: 215.6 kB / 0.7737 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7317, allocations: 1 kB / 0.7737 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.7317, allocations: 0 / 0.7737 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.7317, allocations: 5.516 kB / 0.7737 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.732, allocations: 207.7 kB / 0.7739 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.732, allocations: 0 / 0.7739 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.7322, allocations: 32.25 kB / 0.7739 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7322, allocations: 0.9688 kB / 0.7739 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.7323, allocations: 10.16 kB / 0.7739 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7323, allocations: 0.6562 kB / 0.7739 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7323, allocations: 1 kB / 0.7739 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007718/0.733, allocations: 289.9 kB / 0.7742 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.7331, allocations: 7.328 kB / 0.7742 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.7331, allocations: 5.406 kB / 0.7742 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.7334, allocations: 37.09 kB / 0.7743 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.7335, allocations: 8.609 kB / 0.7743 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.7335, allocations: 7.359 kB / 0.7743 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.167e-05/0.7336, allocations: 105.8 kB / 0.7744 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7336, allocations: 0 / 0.7744 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002699/0.7338, allocations: 24.23 kB / 0.7744 GB, free: 3.43 MB / 0.5762 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.0001181/0.7339, allocations: 98.53 kB / 0.7745 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000747/0.7347, allocations: 161.7 kB / 0.7746 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7347, allocations: 0 / 0.7746 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.735, allocations: 84.11 kB / 0.7747 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.7354, allocations: 9.219 kB / 0.7747 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/0.7362, allocations: 257.5 kB / 0.775 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.7363, allocations: 0.7024 MB / 0.7757 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.7364, allocations: 16.67 kB / 0.7757 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.7365, allocations: 12.7 kB / 0.7757 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.7365, allocations: 4 kB / 0.7757 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of Templates: time 0.005235/0.7417, allocations: 1.515 MB / 0.7772 GB, free: 2.262 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.840922647155821] Failed to read output from testmodel.py, exit status != 0: 0.7500443337485194 0.764052351 0.039920340000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc47e1917b0>