Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.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.001425/0.001425, 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.001617/0.001617, allocations: 192 kB / 22.23 MB, free: 5.16 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.536/1.536, 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.099/1.099, allocations: 177.9 MB / 484.2 MB, free: 5.371 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 68.34 kB / 0.674 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.722, allocations: 95.16 MB / 0.767 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001676/0.7236, allocations: 0.5793 MB / 0.7675 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003876/0.724, allocations: 105.8 kB / 0.7676 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.724, allocations: 1.562 kB / 0.7676 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.7241, allocations: 0.5156 kB / 0.7676 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.606e-06/0.7241, allocations: 3.938 kB / 0.7676 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.7244, allocations: 39.02 kB / 0.7677 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.7246, allocations: 68.62 kB / 0.7677 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.7246, allocations: 10.14 kB / 0.7677 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.778e-05/0.7247, allocations: 20.06 kB / 0.7678 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.7247, allocations: 26.75 kB / 0.7678 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.7247, allocations: 3.375 kB / 0.7678 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.7249, allocations: 52.7 kB / 0.7678 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.725, allocations: 24.2 kB / 0.7679 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.725, allocations: 20.47 kB / 0.7679 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.7252, allocations: 77.28 kB / 0.768 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/0.7252, allocations: 0 / 0.768 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7252, allocations: 1.062 kB / 0.768 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.7252, allocations: 0 / 0.768 GB, free: 7.617 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005777/0.7258, allocations: 307.4 kB / 0.7683 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.7258, allocations: 9.625 kB / 0.7683 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.435e-05/0.7259, allocations: 6.766 kB / 0.7683 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.726, allocations: 104.5 kB / 0.7684 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.7263, allocations: 280.5 kB / 0.7686 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.7263, allocations: 8.438 kB / 0.7686 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.7266, allocations: 83.47 kB / 0.7687 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.7266, allocations: 3.938 kB / 0.7687 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.7266, allocations: 9.219 kB / 0.7687 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.7266, allocations: 1.062 kB / 0.7687 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.727, allocations: 129.9 kB / 0.7689 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.7272, allocations: 158.1 kB / 0.769 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.7275, allocations: 87.98 kB / 0.7691 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.7277, allocations: 42.69 kB / 0.7691 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.7277, allocations: 1.562 kB / 0.7691 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.7278, allocations: 40.55 kB / 0.7692 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.123e-06/0.7278, allocations: 0 / 0.7692 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006281/0.7284, allocations: 153.4 kB / 0.7693 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.7284, allocations: 52.5 kB / 0.7694 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.581e-05/0.7285, allocations: 90.86 kB / 0.7695 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.7285, allocations: 25.7 kB / 0.7695 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.767e-05/0.7285, allocations: 81.17 kB / 0.7696 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/0.7286, allocations: 39.7 kB / 0.7696 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.7286, allocations: 35.92 kB / 0.7696 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.7287, allocations: 314.9 kB / 0.7699 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.7289, allocations: 37.05 kB / 0.77 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.729, allocations: 34.02 kB / 0.77 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.7293, allocations: 77.69 kB / 0.7701 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7293, allocations: 3.938 kB / 0.7701 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003554/0.7297, allocations: 112.8 kB / 0.7702 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.7297, allocations: 9.094 kB / 0.7702 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7297, allocations: 4 kB / 0.7702 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.7297, allocations: 1.219 kB / 0.7702 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.7299, allocations: 27.58 kB / 0.7702 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.7299, allocations: 1.125 kB / 0.7702 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.73, allocations: 5.344 kB / 0.7702 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.73, allocations: 8.797 kB / 0.7702 GB, free: 5.816 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.494e-05/0.7301, allocations: 113.6 kB / 0.7704 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.7301, allocations: 13.67 kB / 0.7704 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.7302, allocations: 17.22 kB / 0.7704 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.7302, allocations: 1.594 kB / 0.7704 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.7302, allocations: 0 / 0.7704 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.7302, allocations: 0 / 0.7704 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.7303, allocations: 148.2 kB / 0.7705 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7303, allocations: 0 / 0.7705 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.7304, allocations: 29.08 kB / 0.7706 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7304, allocations: 3.938 kB / 0.7706 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.7304, allocations: 6.016 kB / 0.7706 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.7305, allocations: 2.359 kB / 0.7706 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7305, allocations: 0 / 0.7706 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.7308, allocations: 136.7 kB / 0.7707 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.7308, allocations: 7.406 kB / 0.7707 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.7309, allocations: 13.09 kB / 0.7707 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.7309, allocations: 4.25 kB / 0.7707 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.731, allocations: 14.91 kB / 0.7707 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.731, allocations: 5.125 kB / 0.7707 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.207e-05/0.731, allocations: 75.28 kB / 0.7708 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.731, allocations: 4 kB / 0.7708 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002673/0.7313, allocations: 27.47 kB / 0.7708 GB, free: 5.309 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002081/0.7315, allocations: 114.7 kB / 0.7709 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.7319, allocations: 79.89 kB / 0.771 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7319, allocations: 0 / 0.771 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.732, allocations: 52.38 kB / 0.7711 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.7322, allocations: 6.531 kB / 0.7711 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.7326, allocations: 164.6 kB / 0.7712 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.7327, allocations: 0.6906 MB / 0.7719 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001977/0.7329, allocations: 38.48 kB / 0.7719 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.733, allocations: 17.06 kB / 0.772 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.733, allocations: 3.938 kB / 0.772 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of Templates: time 0.004711/0.7377, allocations: 1.07 MB / 0.773 GB, free: 4.223 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.70692172832787] Failed to read output from testmodel.py, exit status != 0: 0.7461523171514273 0.760536979 0.031443424000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7caaedd7b0>