Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.001409/0.001409, allocations: 112.9 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.001419/0.001419, 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.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.184 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.9857/0.9857, allocations: 175.7 MB / 480.1 MB, free: 2.816 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.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 64.53 kB / 0.6678 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1522, allocations: 94.54 MB / 0.7601 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002481/0.1547, allocations: 1.545 MB / 0.7616 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004206/0.1551, allocations: 187.3 kB / 0.7618 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.1551, allocations: 4 kB / 0.7618 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.1551, allocations: 3.938 kB / 0.7618 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.22e-05/0.1552, allocations: 3.938 kB / 0.7618 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1554, allocations: 51.88 kB / 0.7618 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.1555, allocations: 31.92 kB / 0.7619 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.212e-05/0.1556, allocations: 19.86 kB / 0.7619 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.1556, allocations: 11.98 kB / 0.7619 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/0.1557, allocations: 23.91 kB / 0.7619 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1557, allocations: 4 kB / 0.7619 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1558, allocations: 43.97 kB / 0.762 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.1558, allocations: 19.91 kB / 0.762 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.1558, allocations: 11.94 kB / 0.762 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.156, allocations: 63.78 kB / 0.7621 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.156, allocations: 4 kB / 0.7621 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.156, allocations: 0 / 0.7621 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.156, allocations: 0 / 0.7621 GB, free: 14.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004626/0.1564, allocations: 363.2 kB / 0.7624 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.1565, allocations: 8.031 kB / 0.7624 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.1565, allocations: 38.75 kB / 0.7624 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.1565, allocations: 8.891 kB / 0.7625 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1567, allocations: 168.3 kB / 0.7626 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1567, allocations: 384 / 0.7626 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.1567, allocations: 4.375 kB / 0.7626 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1569, allocations: 62.22 kB / 0.7627 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1569, allocations: 3.938 kB / 0.7627 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1569, allocations: 3.938 kB / 0.7627 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1569, allocations: 0 / 0.7627 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.1571, allocations: 47.95 kB / 0.7627 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.1574, allocations: 284.8 kB / 0.763 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.1577, allocations: 62.47 kB / 0.7631 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.457e-05/0.1578, allocations: 24.89 kB / 0.7631 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.158, allocations: 170.2 kB / 0.7633 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1581, allocations: 30.56 kB / 0.7633 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.1581, allocations: 0 / 0.7633 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003803/0.1585, allocations: 101.6 kB / 0.7634 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1585, allocations: 51.41 kB / 0.7634 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.1586, allocations: 113.8 kB / 0.7635 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1586, allocations: 29.64 kB / 0.7636 GB, free: 13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.1586, allocations: 92.08 kB / 0.7637 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.1587, allocations: 3.953 kB / 0.7637 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.1587, allocations: 21.7 kB / 0.7637 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1588, allocations: 318.7 kB / 0.764 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.1589, allocations: 19.98 kB / 0.764 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.38e-05/0.159, allocations: 27.97 kB / 0.764 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1592, allocations: 44.81 kB / 0.7641 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1592, allocations: 0 / 0.7641 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002107/0.1594, allocations: 73.66 kB / 0.7641 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1594, allocations: 8 kB / 0.7641 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1594, allocations: 0 / 0.7641 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1594, allocations: 0 / 0.7641 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.1595, allocations: 19.92 kB / 0.7642 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1595, allocations: 0 / 0.7642 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/0.1596, allocations: 15.88 kB / 0.7642 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1596, allocations: 0 / 0.7642 GB, free: 12.34 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.538e-05/0.1597, allocations: 113.8 kB / 0.7643 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.1597, allocations: 0 / 0.7643 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.16, allocations: 93.55 kB / 0.7644 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.16, allocations: 0 / 0.7644 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.16, allocations: 0 / 0.7644 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.16, allocations: 0 / 0.7644 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.1602, allocations: 169.6 kB / 0.7645 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1602, allocations: 0 / 0.7645 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.1603, allocations: 15.92 kB / 0.7646 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1603, allocations: 0 / 0.7646 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1603, allocations: 0 / 0.7646 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1603, allocations: 0 / 0.7646 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1603, allocations: 7.984 kB / 0.7646 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1605, allocations: 175.8 kB / 0.7647 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.1606, allocations: 81.14 kB / 0.7648 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.1606, allocations: 0 / 0.7648 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.1607, allocations: 7.984 kB / 0.7648 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.1607, allocations: 11.98 kB / 0.7648 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1607, allocations: 4 kB / 0.7648 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.899e-05/0.1608, allocations: 87.28 kB / 0.7649 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1608, allocations: 0 / 0.7649 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002373/0.161, allocations: 15.94 kB / 0.7649 GB, free: 11.45 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006582/0.1617, allocations: 0.7357 MB / 0.7656 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.1619, allocations: 51.89 kB / 0.7657 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1619, allocations: 0 / 0.7657 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.162, allocations: 27.91 kB / 0.7657 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.1623, allocations: 6.031 kB / 0.7657 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1637, allocations: 1.284 MB / 0.767 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1641, allocations: 0.6768 MB / 0.7676 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.1641, allocations: 4 kB / 0.7676 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.1641, allocations: 15.44 kB / 0.7677 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1641, allocations: 0 / 0.7677 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.1877, allocations: 1.923 MB / 0.7695 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.092/7.28, allocations: 3.734 kB / 0.7695 GB, free: 6.68 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.670545208005933]