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.001142/0.001142, allocations: 104.9 kB / 16.4 MB, free: 6.496 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.001782/0.001782, allocations: 195.9 kB / 17.34 MB, free: 5.738 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7697/0.7697, allocations: 115.3 MB / 406.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 62.61 kB / 0.5572 GB, free: 32.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.189, allocations: 76.18 MB / 0.6316 GB, free: 5.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002813/0.1919, allocations: 1.519 MB / 0.6331 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000468/0.1924, allocations: 180.3 kB / 0.6332 GB, free: 3.316 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.1924, allocations: 0 / 0.6332 GB, free: 3.316 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.1925, allocations: 3.938 kB / 0.6332 GB, free: 3.312 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.856e-05/0.1926, allocations: 7.984 kB / 0.6333 GB, free: 3.305 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.1929, allocations: 47.83 kB / 0.6333 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.928e-05/0.193, allocations: 39.89 kB / 0.6333 GB, free: 3.219 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.1931, allocations: 12 kB / 0.6334 GB, free: 3.207 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.265e-05/0.1931, allocations: 27.86 kB / 0.6334 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.828e-05/0.1932, allocations: 15.92 kB / 0.6334 GB, free: 3.164 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.1932, allocations: 4 kB / 0.6334 GB, free: 3.16 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1933, allocations: 55.94 kB / 0.6334 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.1933, allocations: 4 kB / 0.6335 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.1933, allocations: 11.94 kB / 0.6335 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.1935, allocations: 63.78 kB / 0.6335 GB, free: 3.027 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.1935, allocations: 4 kB / 0.6335 GB, free: 3.023 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1935, allocations: 0 / 0.6335 GB, free: 3.023 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1935, allocations: 0 / 0.6335 GB, free: 3.023 MB / 478.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.0004684/0.194, allocations: 358.3 kB / 0.6339 GB, free: 2.625 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1941, allocations: 8.031 kB / 0.6339 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.1941, allocations: 38.75 kB / 0.6339 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.1941, allocations: 0.9375 kB / 0.6339 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1942, allocations: 173.1 kB / 0.6341 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1943, allocations: 384 / 0.6341 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.1943, allocations: 8.375 kB / 0.6341 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1945, allocations: 66.16 kB / 0.6342 GB, free: 2.285 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.1945, allocations: 7.938 kB / 0.6342 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1945, allocations: 3.984 kB / 0.6342 GB, free: 2.273 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1945, allocations: 0 / 0.6342 GB, free: 2.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.1947, allocations: 43.95 kB / 0.6342 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.195, allocations: 284.7 kB / 0.6345 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.1954, allocations: 74.34 kB / 0.6345 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.763e-05/0.1955, allocations: 24.91 kB / 0.6346 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.1957, allocations: 162.2 kB / 0.6347 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1957, allocations: 34.56 kB / 0.6348 GB, free: 1.555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.1957, allocations: 0 / 0.6348 GB, free: 1.555 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.000352/0.1961, allocations: 101.6 kB / 0.6349 GB, free: 1.449 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.1961, allocations: 51.41 kB / 0.6349 GB, free: 1.387 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.1962, allocations: 113.8 kB / 0.635 GB, free: 1.266 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1962, allocations: 29.7 kB / 0.635 GB, free: 1.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.1962, allocations: 80.14 kB / 0.6351 GB, free: 1.148 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.1963, allocations: 7.906 kB / 0.6351 GB, free: 1.141 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.1963, allocations: 17.7 kB / 0.6351 GB, free: 1.117 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.1964, allocations: 326.8 kB / 0.6355 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-05/0.1965, allocations: 15.97 kB / 0.6355 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/0.1966, allocations: 19.98 kB / 0.6355 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1967, allocations: 48.81 kB / 0.6355 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1967, allocations: 0 / 0.6355 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001995/0.1969, allocations: 81.5 kB / 0.6356 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.197, allocations: 8 kB / 0.6356 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.197, allocations: 0 / 0.6356 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.197, allocations: 0 / 0.6356 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.1971, allocations: 11.98 kB / 0.6356 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1971, allocations: 0 / 0.6356 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.1972, allocations: 7.984 kB / 0.6356 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1972, allocations: 0 / 0.6356 GB, free: 0.5898 MB / 478.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.821e-05/0.1972, allocations: 117.8 kB / 0.6358 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.1973, allocations: 4 kB / 0.6358 GB, free: 472 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.1975, allocations: 85.48 kB / 0.6358 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1975, allocations: 0 / 0.6358 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1975, allocations: 0 / 0.6358 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1976, allocations: 0 / 0.6358 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.1977, allocations: 178 kB / 0.636 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1977, allocations: 0 / 0.636 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.146e-05/0.1978, allocations: 12 kB / 0.636 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1978, allocations: 7.922 kB / 0.636 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1978, allocations: 4 kB / 0.636 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1978, allocations: 0 / 0.636 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1979, allocations: 4 kB / 0.636 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1981, allocations: 175.3 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.1982, allocations: 85.03 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1982, allocations: 4 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.1983, allocations: 8 kB / 0.6363 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.1983, allocations: 11.92 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1983, allocations: 0 / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.155e-05/0.1984, allocations: 95.2 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1984, allocations: 0 / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1986, allocations: 16 kB / 0.6364 GB, free: 15.69 MB / 494.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.0005353/0.1992, allocations: 0.7201 MB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.1994, allocations: 47.95 kB / 0.6372 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1994, allocations: 3.938 kB / 0.6372 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.34e-05/0.1995, allocations: 31.97 kB / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.1998, allocations: 0 / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.2011, allocations: 1.288 MB / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.2013, allocations: 0.6807 MB / 0.6391 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.2014, allocations: 4 kB / 0.6391 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.2014, allocations: 15.44 kB / 0.6391 GB, free: 12.77 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2014, allocations: 3.938 kB / 0.6391 GB, free: 12.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.2189, allocations: 1.943 MB / 0.641 GB, free: 10.89 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.767, allocations: 28.12 kB / 0.6411 GB, free: 10.88 MB / 494.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)