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.001576/0.001576, allocations: 107.5 kB / 18.7 MB, free: 3.32 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.0017/0.0017, allocations: 192.4 kB / 21.95 MB, free: 72 kB / 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.416/1.416, allocations: 225.6 MB / 250.7 MB, free: 13.42 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/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.056/1.056, allocations: 175.8 MB / 481.6 MB, free: 7.887 MB / 382.1 MB " [Timeout remaining time 179] 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.001977/0.001977, allocations: 73.25 kB / 0.6701 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5148/0.5168, allocations: 94.52 MB / 0.7624 GB, free: 9.949 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.0018/0.5186, allocations: 0.595 MB / 0.763 GB, free: 9.785 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0003736/0.519, allocations: 108.5 kB / 0.7631 GB, free: 9.754 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.519, allocations: 0.8125 kB / 0.7631 GB, free: 9.754 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.519, allocations: 0 / 0.7631 GB, free: 9.754 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 6.512e-06/0.519, allocations: 4.906 kB / 0.7631 GB, free: 9.754 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.5193, allocations: 38.66 kB / 0.7631 GB, free: 9.746 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.5195, allocations: 66.14 kB / 0.7632 GB, free: 9.746 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.5195, allocations: 4.125 kB / 0.7632 GB, free: 9.746 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.5196, allocations: 25.25 kB / 0.7632 GB, free: 9.742 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.783e-05/0.5196, allocations: 23.28 kB / 0.7633 GB, free: 9.742 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.5196, allocations: 3.594 kB / 0.7633 GB, free: 9.742 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.5198, allocations: 49.17 kB / 0.7633 GB, free: 9.738 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.5198, allocations: 21.95 kB / 0.7633 GB, free: 9.738 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.5198, allocations: 21.97 kB / 0.7634 GB, free: 9.734 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.52, allocations: 79.89 kB / 0.7634 GB, free: 9.719 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.52, allocations: 1.75 kB / 0.7634 GB, free: 9.719 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.683e-06/0.52, allocations: 0 / 0.7634 GB, free: 9.719 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.52, allocations: 0.5625 kB / 0.7634 GB, free: 9.719 MB / 0.5763 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.0004435/0.5204, allocations: 379.2 kB / 0.7638 GB, free: 9.355 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.5205, allocations: 11.28 kB / 0.7638 GB, free: 9.355 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.5205, allocations: 8.016 kB / 0.7638 GB, free: 9.355 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.17e-05/0.5206, allocations: 162.6 kB / 0.764 GB, free: 9.16 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.5208, allocations: 280.9 kB / 0.7642 GB, free: 8.848 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.5208, allocations: 7.531 kB / 0.7642 GB, free: 8.848 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.521, allocations: 85.25 kB / 0.7643 GB, free: 8.812 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.521, allocations: 4.781 kB / 0.7643 GB, free: 8.809 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.521, allocations: 2.031 kB / 0.7643 GB, free: 8.809 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.521, allocations: 3.812 kB / 0.7643 GB, free: 8.809 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.5214, allocations: 136.3 kB / 0.7645 GB, free: 8.809 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.5216, allocations: 177.2 kB / 0.7646 GB, free: 8.613 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.5218, allocations: 90.64 kB / 0.7647 GB, free: 8.59 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.522, allocations: 38.05 kB / 0.7648 GB, free: 8.582 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.522, allocations: 7.078 kB / 0.7648 GB, free: 8.582 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.522, allocations: 35.47 kB / 0.7648 GB, free: 8.543 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.522, allocations: 1.25 kB / 0.7648 GB, free: 8.543 MB / 0.5763 GB Notification: Performance of matching and sorting (n=11): time 0.000506/0.5225, allocations: 150.5 kB / 0.7649 GB, free: 8.504 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.5226, allocations: 55.75 kB / 0.765 GB, free: 8.441 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.942e-05/0.5226, allocations: 94.55 kB / 0.7651 GB, free: 8.34 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.5226, allocations: 26.42 kB / 0.7651 GB, free: 8.309 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 9.638e-06/0.5226, allocations: 84.86 kB / 0.7652 GB, free: 8.223 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.5226, allocations: 40.95 kB / 0.7652 GB, free: 8.195 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.5227, allocations: 29.36 kB / 0.7653 GB, free: 8.18 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.104e-05/0.5227, allocations: 314.9 kB / 0.7656 GB, free: 7.867 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.5229, allocations: 31.05 kB / 0.7656 GB, free: 7.867 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.523, allocations: 36.95 kB / 0.7656 GB, free: 7.863 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.5233, allocations: 79.12 kB / 0.7657 GB, free: 7.852 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5233, allocations: 0 / 0.7657 GB, free: 7.852 MB / 0.5763 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003279/0.5236, allocations: 116 kB / 0.7658 GB, free: 7.812 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5236, allocations: 9.969 kB / 0.7658 GB, free: 7.809 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5236, allocations: 0 / 0.7658 GB, free: 7.809 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.5236, allocations: 1.094 kB / 0.7658 GB, free: 7.809 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.5238, allocations: 27.34 kB / 0.7658 GB, free: 7.805 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.5238, allocations: 2.75 kB / 0.7658 GB, free: 7.805 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.5238, allocations: 8.438 kB / 0.7659 GB, free: 7.805 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.5238, allocations: 4.188 kB / 0.7659 GB, free: 7.805 MB / 0.5763 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 7.19e-05/0.5239, allocations: 119.3 kB / 0.766 GB, free: 7.691 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.5239, allocations: 15.31 kB / 0.766 GB, free: 7.68 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.524, allocations: 11.09 kB / 0.766 GB, free: 7.672 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.524, allocations: 3.906 kB / 0.766 GB, free: 7.672 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.524, allocations: 4.594 kB / 0.766 GB, free: 7.668 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.524, allocations: 1.844 kB / 0.766 GB, free: 7.668 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.747e-05/0.5241, allocations: 173.6 kB / 0.7662 GB, free: 7.477 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5241, allocations: 2.156 kB / 0.7662 GB, free: 7.477 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.5242, allocations: 23.91 kB / 0.7662 GB, free: 7.477 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5242, allocations: 5 kB / 0.7662 GB, free: 7.473 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.5242, allocations: 5.016 kB / 0.7662 GB, free: 7.473 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5242, allocations: 9.609 kB / 0.7662 GB, free: 7.465 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5242, allocations: 0 / 0.7662 GB, free: 7.465 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.5245, allocations: 138.9 kB / 0.7663 GB, free: 7.402 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.5246, allocations: 83.39 kB / 0.7664 GB, free: 7.305 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.5246, allocations: 8.875 kB / 0.7664 GB, free: 7.301 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.401e-05/0.5246, allocations: 5.375 kB / 0.7664 GB, free: 7.301 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.5247, allocations: 13.69 kB / 0.7665 GB, free: 7.297 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.5247, allocations: 8.281 kB / 0.7665 GB, free: 7.293 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 1.44e-05/0.5247, allocations: 76.7 kB / 0.7665 GB, free: 7.219 MB / 0.5763 GB Notification: Performance of sort global known variables: time 5e-08/0.5247, allocations: 0 / 0.7665 GB, free: 7.219 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002359/0.525, allocations: 21.56 kB / 0.7666 GB, free: 7.219 MB / 0.5763 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.0001918/0.5252, allocations: 128.1 kB / 0.7667 GB, free: 7.117 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.5255, allocations: 79.55 kB / 0.7668 GB, free: 7.117 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.5255, allocations: 3.938 kB / 0.7668 GB, free: 7.113 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.5256, allocations: 51.55 kB / 0.7668 GB, free: 7.105 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.5258, allocations: 3.672 kB / 0.7668 GB, free: 7.105 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.5262, allocations: 200.6 kB / 0.767 GB, free: 6.965 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.5263, allocations: 0.6839 MB / 0.7677 GB, free: 6.27 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.5263, allocations: 23.17 kB / 0.7677 GB, free: 6.266 MB / 0.5763 GB Notification: Performance of SimCode: time 3.3e-07/0.5263, allocations: 0 / 0.7677 GB, free: 6.266 MB / 0.5763 GB Notification: Performance of Templates: time 0.003302/0.5296, allocations: 1.327 MB / 0.769 GB, free: 6.156 MB / 0.5763 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: 8.54297191509977] Failed to read output from testmodel.py, exit status != 0: 0.5386760060209781 0.549750112 0.026937118000000003 Calling exit ...