Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.00123/0.00123, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001168/0.001168, allocations: 191 kB / 16.91 MB, free: 6.195 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.433/1.433, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6959/0.6959, allocations: 115.3 MB / 406.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.89 kB / 493.2 MB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4244, allocations: 76.18 MB / 0.556 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.003249/0.4277, allocations: 1.588 MB / 0.5576 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004365/0.4282, allocations: 176.8 kB / 0.5577 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.4282, allocations: 4.188 kB / 0.5577 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/0.4283, allocations: 4.734 kB / 0.5577 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.609e-05/0.4283, allocations: 0 / 0.5577 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.4287, allocations: 48.59 kB / 0.5578 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.4288, allocations: 38.7 kB / 0.5578 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4289, allocations: 21.36 kB / 0.5578 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.392e-05/0.4289, allocations: 13.83 kB / 0.5579 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.429, allocations: 17.23 kB / 0.5579 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.429, allocations: 3.125 kB / 0.5579 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.4291, allocations: 50.61 kB / 0.5579 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.4292, allocations: 11.8 kB / 0.5579 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.4292, allocations: 12.88 kB / 0.5579 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.4294, allocations: 64.05 kB / 0.558 GB, free: 34.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4294, allocations: 1.219 kB / 0.558 GB, free: 34.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4294, allocations: 0.6875 kB / 0.558 GB, free: 34.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4294, allocations: 0 / 0.558 GB, free: 34.01 MB / 446.1 MB 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.0004689/0.4299, allocations: 359.4 kB / 0.5584 GB, free: 33.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.4299, allocations: 10.27 kB / 0.5584 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.43, allocations: 35.45 kB / 0.5584 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.43, allocations: 3.531 kB / 0.5584 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.046e-05/0.4301, allocations: 172.9 kB / 0.5586 GB, free: 33.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.4301, allocations: 5.969 kB / 0.5586 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.4301, allocations: 3.125 kB / 0.5586 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.4304, allocations: 68.7 kB / 0.5586 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4304, allocations: 3.938 kB / 0.5586 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4304, allocations: 0 / 0.5586 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4304, allocations: 2.172 kB / 0.5586 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.4306, allocations: 45.11 kB / 0.5587 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.431, allocations: 278.8 kB / 0.559 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.4314, allocations: 65.06 kB / 0.559 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.4315, allocations: 25.81 kB / 0.559 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.4317, allocations: 164.4 kB / 0.5592 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.4318, allocations: 37.62 kB / 0.5592 GB, free: 32.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 2.765e-06/0.4318, allocations: 1.641 kB / 0.5592 GB, free: 32.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004082/0.4322, allocations: 97.55 kB / 0.5593 GB, free: 32.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.4322, allocations: 56.25 kB / 0.5594 GB, free: 32.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.543e-05/0.4323, allocations: 109.6 kB / 0.5595 GB, free: 32.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.4323, allocations: 28.03 kB / 0.5595 GB, free: 32.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.4324, allocations: 81.48 kB / 0.5596 GB, free: 32.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.4324, allocations: 10.5 kB / 0.5596 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.4324, allocations: 15.2 kB / 0.5596 GB, free: 32.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.4325, allocations: 323.3 kB / 0.5599 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.496e-05/0.4326, allocations: 24.06 kB / 0.5599 GB, free: 32.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.78e-05/0.4327, allocations: 18.08 kB / 0.56 GB, free: 32.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.4329, allocations: 47.66 kB / 0.56 GB, free: 32.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4329, allocations: 0 / 0.56 GB, free: 32.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002085/0.4331, allocations: 83.34 kB / 0.5601 GB, free: 32.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4331, allocations: 12.12 kB / 0.5601 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.4331, allocations: 0 / 0.5601 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4332, allocations: 0 / 0.5601 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.777e-05/0.4332, allocations: 12.56 kB / 0.5601 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.4333, allocations: 1.281 kB / 0.5601 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.749e-05/0.4333, allocations: 11.52 kB / 0.5601 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4333, allocations: 1.281 kB / 0.5601 GB, free: 32.03 MB / 446.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: 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 6.469e-05/0.4334, allocations: 118.3 kB / 0.5602 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.4334, allocations: 6.734 kB / 0.5602 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.4337, allocations: 83.22 kB / 0.5603 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4337, allocations: 0 / 0.5603 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4337, allocations: 0.5625 kB / 0.5603 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4337, allocations: 6.156 kB / 0.5603 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.4339, allocations: 167.9 kB / 0.5605 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4339, allocations: 0 / 0.5605 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.4339, allocations: 13.17 kB / 0.5605 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4339, allocations: 0.5938 kB / 0.5605 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.434, allocations: 0 / 0.5605 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.434, allocations: 5.469 kB / 0.5605 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.434, allocations: 4 kB / 0.5605 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.4342, allocations: 176.3 kB / 0.5607 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.4342, allocations: 78.52 kB / 0.5608 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.4343, allocations: 5.094 kB / 0.5608 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.4344, allocations: 6.141 kB / 0.5608 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.4344, allocations: 6.781 kB / 0.5608 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.4344, allocations: 3.562 kB / 0.5608 GB, free: 31.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.146e-05/0.4345, allocations: 87.91 kB / 0.5609 GB, free: 31.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.12e-07/0.4345, allocations: 0 / 0.5609 GB, free: 31.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000243/0.4347, allocations: 22.16 kB / 0.5609 GB, free: 31.32 MB / 446.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: 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.000476/0.4352, allocations: 0.7333 MB / 0.5616 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.4354, allocations: 45.17 kB / 0.5616 GB, free: 30.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4354, allocations: 1.438 kB / 0.5616 GB, free: 30.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.4355, allocations: 30.16 kB / 0.5617 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.4358, allocations: 3.312 kB / 0.5617 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.4371, allocations: 1.288 MB / 0.5629 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.4372, allocations: 0.6814 MB / 0.5636 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.451e-05/0.4373, allocations: 5.297 kB / 0.5636 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.4373, allocations: 17.78 kB / 0.5636 GB, free: 28.72 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4373, allocations: 0 / 0.5636 GB, free: 28.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.4491, allocations: 1.75 MB / 0.5653 GB, free: 28.49 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.4494, allocations: 190.1 kB / 0.5655 GB, free: 28.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.131, allocations: 0.5 kB / 0.5655 GB, free: 28.23 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)