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.001166/0.001166, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001128/0.001128, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9759/0.9759, allocations: 175.7 MB / 480.1 MB, free: 3.145 MB / 366.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 70.42 kB / 0.6678 GB, free: 10.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1595, allocations: 94.52 MB / 0.7601 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001585/0.161, allocations: 0.6048 MB / 0.7607 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003509/0.1614, allocations: 104.1 kB / 0.7608 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.644e-05/0.1614, allocations: 3.938 kB / 0.7608 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.1614, allocations: 4 kB / 0.7608 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-06/0.1614, allocations: 0 / 0.7608 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.1617, allocations: 35.89 kB / 0.7608 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.1619, allocations: 71.86 kB / 0.7609 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.1619, allocations: 0 / 0.7609 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.467e-05/0.1619, allocations: 27.97 kB / 0.7609 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.162, allocations: 23.97 kB / 0.761 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.162, allocations: 4 kB / 0.761 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1621, allocations: 51.94 kB / 0.761 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.1622, allocations: 23.92 kB / 0.761 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.1622, allocations: 15.92 kB / 0.7611 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1623, allocations: 80.03 kB / 0.7611 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1623, allocations: 0 / 0.7611 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1623, allocations: 0 / 0.7611 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.1624, allocations: 0 / 0.7611 GB, free: 15.76 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.0005039/0.1629, allocations: 375.3 kB / 0.7615 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1629, allocations: 12.03 kB / 0.7615 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.1629, allocations: 42.73 kB / 0.7615 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.163, allocations: 4.938 kB / 0.7615 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.894e-05/0.1631, allocations: 164.4 kB / 0.7617 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/0.1633, allocations: 281.6 kB / 0.762 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.1633, allocations: 4.375 kB / 0.762 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.1636, allocations: 89.83 kB / 0.7621 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1636, allocations: 0 / 0.7621 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.1636, allocations: 0 / 0.7621 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1636, allocations: 4 kB / 0.7621 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.1639, allocations: 139.8 kB / 0.7622 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.1641, allocations: 173.6 kB / 0.7624 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.1644, allocations: 86.53 kB / 0.7624 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.1645, allocations: 44.77 kB / 0.7625 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1646, allocations: 0 / 0.7625 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1646, allocations: 42.5 kB / 0.7625 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.1646, allocations: 4 kB / 0.7625 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.000494/0.1651, allocations: 149.8 kB / 0.7627 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1651, allocations: 55.41 kB / 0.7627 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.273e-05/0.1652, allocations: 89.86 kB / 0.7628 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1652, allocations: 25.7 kB / 0.7628 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.1652, allocations: 86.36 kB / 0.7629 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.1653, allocations: 47.56 kB / 0.763 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.1653, allocations: 25.7 kB / 0.763 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1654, allocations: 326.8 kB / 0.7633 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1656, allocations: 27.92 kB / 0.7633 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1657, allocations: 35.97 kB / 0.7634 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.1659, allocations: 76.75 kB / 0.7634 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1659, allocations: 0 / 0.7634 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000313/0.1663, allocations: 109.6 kB / 0.7635 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1663, allocations: 11.94 kB / 0.7635 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.1663, allocations: 0 / 0.7635 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1663, allocations: 4 kB / 0.7636 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.1664, allocations: 27.91 kB / 0.7636 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1664, allocations: 0 / 0.7636 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.1665, allocations: 8 kB / 0.7636 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.1665, allocations: 7.984 kB / 0.7636 GB, free: 12.93 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.786e-05/0.1666, allocations: 113.8 kB / 0.7637 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.1666, allocations: 15.83 kB / 0.7637 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.1667, allocations: 7.969 kB / 0.7637 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.1667, allocations: 11.97 kB / 0.7637 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1667, allocations: 0 / 0.7637 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1667, allocations: 0 / 0.7637 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.1668, allocations: 173.7 kB / 0.7639 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1668, allocations: 0 / 0.7639 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.1669, allocations: 27.98 kB / 0.7639 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1669, allocations: 7.875 kB / 0.7639 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1669, allocations: 3.984 kB / 0.7639 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1669, allocations: 0 / 0.7639 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1669, allocations: 0 / 0.7639 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.1673, allocations: 149 kB / 0.7641 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.1673, allocations: 84.98 kB / 0.7642 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.1673, allocations: 3.938 kB / 0.7642 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.518e-05/0.1674, allocations: 4 kB / 0.7642 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.1675, allocations: 15.97 kB / 0.7642 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1675, allocations: 4 kB / 0.7642 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.112e-05/0.1675, allocations: 75.28 kB / 0.7643 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.1675, allocations: 0 / 0.7643 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002045/0.1677, allocations: 24 kB / 0.7643 GB, free: 12.12 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.0007382/0.1684, allocations: 0.7067 MB / 0.765 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.1688, allocations: 87.92 kB / 0.7651 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1688, allocations: 0 / 0.7651 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1689, allocations: 51.91 kB / 0.7651 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.169, allocations: 4 kB / 0.7651 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.1695, allocations: 190.6 kB / 0.7653 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1698, allocations: 0.6922 MB / 0.766 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.1699, allocations: 43.95 kB / 0.766 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.17, allocations: 23.36 kB / 0.766 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.17, allocations: 0 / 0.766 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.1937, allocations: 2.004 MB / 0.768 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.122/7.316, allocations: 3.938 kB / 0.768 GB, free: 8.305 MB / 0.5762 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.664351544997771]