Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 197.1 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7208/0.7208, allocations: 132.2 MB / 422.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.59 kB / 0.5014 GB, free: 4.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3448, allocations: 80.2 MB / 0.5797 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001599/0.3464, allocations: 0.6481 MB / 0.5803 GB, free: 4.371 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003048/0.3467, allocations: 103.8 kB / 0.5804 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.483e-05/0.3467, allocations: 0 / 0.5804 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.3468, allocations: 0.6094 kB / 0.5804 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.499e-06/0.3468, allocations: 1.062 kB / 0.5804 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.3471, allocations: 36.95 kB / 0.5805 GB, free: 4.289 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.3472, allocations: 66.95 kB / 0.5805 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.3472, allocations: 2.312 kB / 0.5805 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.162e-05/0.3473, allocations: 22.16 kB / 0.5805 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.3473, allocations: 24.61 kB / 0.5806 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.3473, allocations: 7.031 kB / 0.5806 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3475, allocations: 43.39 kB / 0.5806 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.3475, allocations: 22.91 kB / 0.5806 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.3475, allocations: 20.56 kB / 0.5807 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.3477, allocations: 68.53 kB / 0.5807 GB, free: 4.207 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.3477, allocations: 0 / 0.5807 GB, free: 4.207 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3477, allocations: 6 kB / 0.5807 GB, free: 4.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.3477, allocations: 0 / 0.5807 GB, free: 4.203 MB / 430.1 MB 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.0003746/0.3481, allocations: 372.9 kB / 0.5811 GB, free: 3.828 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3481, allocations: 13.88 kB / 0.5811 GB, free: 3.824 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.3482, allocations: 47.3 kB / 0.5811 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.3482, allocations: 6.375 kB / 0.5811 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.631e-05/0.3483, allocations: 165.1 kB / 0.5813 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.3484, allocations: 280.2 kB / 0.5816 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.3485, allocations: 4.156 kB / 0.5816 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3487, allocations: 91.34 kB / 0.5817 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.3487, allocations: 0.7812 kB / 0.5817 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3487, allocations: 1.359 kB / 0.5817 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3487, allocations: 1.469 kB / 0.5817 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.3491, allocations: 137.6 kB / 0.5818 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.3492, allocations: 182.4 kB / 0.582 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.3495, allocations: 93.58 kB / 0.5821 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3497, allocations: 46.95 kB / 0.5821 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3497, allocations: 1.438 kB / 0.5821 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.3497, allocations: 44.05 kB / 0.5821 GB, free: 2.871 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.3497, allocations: 0 / 0.5821 GB, free: 2.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005072/0.3502, allocations: 147.3 kB / 0.5823 GB, free: 2.816 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.766e-05/0.3503, allocations: 53.25 kB / 0.5823 GB, free: 2.754 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.568e-05/0.3503, allocations: 89.86 kB / 0.5824 GB, free: 2.656 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.3503, allocations: 34.8 kB / 0.5825 GB, free: 2.617 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-06/0.3503, allocations: 80.84 kB / 0.5825 GB, free: 2.535 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.3504, allocations: 35.09 kB / 0.5826 GB, free: 2.508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.3504, allocations: 27.28 kB / 0.5826 GB, free: 2.488 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.797e-05/0.3504, allocations: 318.1 kB / 0.5829 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3506, allocations: 32.7 kB / 0.5829 GB, free: 2.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3507, allocations: 34.64 kB / 0.583 GB, free: 2.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.351, allocations: 70.14 kB / 0.583 GB, free: 2.137 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.351, allocations: 7.938 kB / 0.583 GB, free: 2.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003242/0.3513, allocations: 113.4 kB / 0.5831 GB, free: 2.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3514, allocations: 11.5 kB / 0.5832 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3514, allocations: 0.6562 kB / 0.5832 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3514, allocations: 0.8125 kB / 0.5832 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.3515, allocations: 22.83 kB / 0.5832 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.3515, allocations: 2.141 kB / 0.5832 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.004e-05/0.3516, allocations: 16.2 kB / 0.5832 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.3516, allocations: 4.188 kB / 0.5832 GB, free: 2.062 MB / 430.1 MB 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 5.607e-05/0.3517, allocations: 125.8 kB / 0.5833 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.3517, allocations: 6.406 kB / 0.5833 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.3517, allocations: 12.61 kB / 0.5833 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3517, allocations: 3.016 kB / 0.5833 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3518, allocations: 0 / 0.5833 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3518, allocations: 0.75 kB / 0.5833 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.853e-05/0.3519, allocations: 184.1 kB / 0.5835 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3519, allocations: 0.5625 kB / 0.5835 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.352, allocations: 28.11 kB / 0.5835 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.352, allocations: 8.906 kB / 0.5836 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.352, allocations: 3.234 kB / 0.5836 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.352, allocations: 1.188 kB / 0.5836 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.352, allocations: 0 / 0.5836 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.3524, allocations: 154 kB / 0.5837 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.3524, allocations: 84.08 kB / 0.5838 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.3524, allocations: 1.375 kB / 0.5838 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.987e-05/0.3525, allocations: 7.984 kB / 0.5838 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.3525, allocations: 14.88 kB / 0.5838 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3525, allocations: 5.094 kB / 0.5838 GB, free: 1.504 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.488e-06/0.3526, allocations: 75.28 kB / 0.5839 GB, free: 1.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3526, allocations: 0 / 0.5839 GB, free: 1.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.3528, allocations: 22.27 kB / 0.5839 GB, free: 1.426 MB / 430.1 MB 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.0005374/0.3533, allocations: 0.6982 MB / 0.5846 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.3537, allocations: 95.75 kB / 0.5847 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3537, allocations: 4.969 kB / 0.5847 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.3538, allocations: 46.5 kB / 0.5847 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.354, allocations: 6.984 kB / 0.5847 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.3544, allocations: 211.4 kB / 0.5849 GB, free: 0.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.3546, allocations: 0.6844 MB / 0.5856 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.3547, allocations: 38.92 kB / 0.5856 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.3548, allocations: 21.06 kB / 0.5857 GB, free: 15.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3548, allocations: 4.781 kB / 0.5857 GB, free: 15.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/0.4856, allocations: 1.876 MB / 0.5875 GB, free: 15.59 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.4858, allocations: 187.1 kB / 0.5877 GB, free: 15.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.286, allocations: 0 / 0.5877 GB, free: 15.34 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)