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.001247/0.001247, allocations: 96.97 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 175.3 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.148/2.148, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8949/0.8949, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003371, allocations: 12.84 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.208, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.001764/0.2098, allocations: 1.233 MB / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003797/0.2102, allocations: 168.4 kB / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.2102, allocations: 4 kB / 0.5581 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.2103, allocations: 3.938 kB / 0.5581 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.579e-05/0.2103, allocations: 7.984 kB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.2105, allocations: 31.95 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.263e-05/0.2106, allocations: 19.92 kB / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.2107, allocations: 23.91 kB / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.273e-05/0.2107, allocations: 4 kB / 0.5582 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.646e-05/0.2108, allocations: 19.92 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.2108, allocations: 0 / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.451e-05/0.2109, allocations: 43.94 kB / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-06/0.2109, allocations: 0 / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.2109, allocations: 37.64 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.158e-05/0.211, allocations: 35.92 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.211, allocations: 0 / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.211, allocations: 0 / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.211, allocations: 0 / 0.5583 GB, free: 10.08 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004042/0.2114, allocations: 359.5 kB / 0.5586 GB, free: 9.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2115, allocations: 12.03 kB / 0.5587 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.2115, allocations: 34.56 kB / 0.5587 GB, free: 9.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.2116, allocations: 4 kB / 0.5587 GB, free: 9.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2117, allocations: 163 kB / 0.5588 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2117, allocations: 4 kB / 0.5589 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.2117, allocations: 4 kB / 0.5589 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.2119, allocations: 81.53 kB / 0.5589 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.2119, allocations: 4 kB / 0.5589 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2119, allocations: 0 / 0.5589 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2119, allocations: 0 / 0.5589 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.2121, allocations: 59.89 kB / 0.559 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.2125, allocations: 284.7 kB / 0.5593 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.2128, allocations: 62.48 kB / 0.5593 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.213, allocations: 170.4 kB / 0.5595 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.213, allocations: 30.56 kB / 0.5595 GB, free: 8.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.213, allocations: 0 / 0.5595 GB, free: 8.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003607/0.2134, allocations: 117.5 kB / 0.5596 GB, free: 8.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.2134, allocations: 51.41 kB / 0.5597 GB, free: 8.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/0.2135, allocations: 113.8 kB / 0.5598 GB, free: 8.324 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.2135, allocations: 25.7 kB / 0.5598 GB, free: 8.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.2136, allocations: 84.14 kB / 0.5599 GB, free: 8.207 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.2136, allocations: 15.95 kB / 0.5599 GB, free: 8.191 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.2136, allocations: 0 / 0.5599 GB, free: 8.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.2137, allocations: 318.8 kB / 0.5602 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.983e-05/0.2138, allocations: 23.98 kB / 0.5602 GB, free: 7.848 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.2139, allocations: 23.97 kB / 0.5603 GB, free: 7.824 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.449e-05/0.214, allocations: 27.98 kB / 0.5603 GB, free: 7.797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.214, allocations: 0 / 0.5603 GB, free: 7.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002065/0.2142, allocations: 85.61 kB / 0.5604 GB, free: 7.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2142, allocations: 7.984 kB / 0.5604 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.2142, allocations: 0 / 0.5604 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2143, allocations: 4 kB / 0.5604 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.525e-05/0.2143, allocations: 15.98 kB / 0.5604 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2144, allocations: 3.938 kB / 0.5604 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/0.2144, allocations: 8 kB / 0.5604 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-06/0.2144, allocations: 0 / 0.5604 GB, free: 7.668 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: 2 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.877e-05/0.2145, allocations: 117.8 kB / 0.5605 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.2145, allocations: 15.8 kB / 0.5605 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.2148, allocations: 93.86 kB / 0.5606 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2148, allocations: 0 / 0.5606 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.195e-06/0.2148, allocations: 0 / 0.5606 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2148, allocations: 0 / 0.5606 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.215, allocations: 169.7 kB / 0.5608 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.215, allocations: 0 / 0.5608 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.289e-05/0.2151, allocations: 15.98 kB / 0.5608 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2151, allocations: 3.953 kB / 0.5608 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.2151, allocations: 0 / 0.5608 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2151, allocations: 7.938 kB / 0.5608 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2151, allocations: 0 / 0.5608 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.2154, allocations: 187.5 kB / 0.561 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.2154, allocations: 81.02 kB / 0.5611 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.2154, allocations: 3.953 kB / 0.5611 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.2155, allocations: 15.92 kB / 0.5611 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.2156, allocations: 8 kB / 0.5611 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.2156, allocations: 0 / 0.5611 GB, free: 6.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.843e-05/0.2156, allocations: 87.27 kB / 0.5612 GB, free: 6.773 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2156, allocations: 4 kB / 0.5612 GB, free: 6.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.2159, allocations: 16 kB / 0.5612 GB, free: 6.754 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005902/0.2165, allocations: 0.7325 MB / 0.5619 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.2167, allocations: 59.95 kB / 0.562 GB, free: 5.938 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2167, allocations: 0 / 0.562 GB, free: 5.938 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.2168, allocations: 27.98 kB / 0.562 GB, free: 5.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.217, allocations: 15.88 kB / 0.562 GB, free: 5.895 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008144/0.2178, allocations: 458.4 kB / 0.5624 GB, free: 5.402 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.2181, allocations: 0.6809 MB / 0.5631 GB, free: 4.695 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.934e-05/0.2181, allocations: 4 kB / 0.5631 GB, free: 4.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.2182, allocations: 15.42 kB / 0.5631 GB, free: 4.676 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2182, allocations: 3.938 kB / 0.5631 GB, free: 4.672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1546/0.3728, allocations: 1.593 MB / 0.5647 GB, free: 3.195 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003495/0.3732, allocations: 174 kB / 0.5649 GB, free: 2.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.592/3.965, allocations: 0 / 0.5649 GB, free: 2.949 MB / 430.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/linux/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) Environment - environmentSimulation: