Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_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.001031/0.001031, allocations: 100.1 kB / 15.88 MB, free: 12 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.001026/0.001025, allocations: 209.6 kB / 16.79 MB, free: 6.84 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.22/1.22, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6534/0.6534, allocations: 115.3 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 71.73 kB / 493 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1287, allocations: 76.19 MB / 0.5559 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001716/0.1304, allocations: 0.6428 MB / 0.5565 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003965/0.1308, allocations: 110.2 kB / 0.5566 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.113e-05/0.1309, allocations: 0 / 0.5566 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.1309, allocations: 3.938 kB / 0.5566 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.699e-06/0.1309, allocations: 0 / 0.5566 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1312, allocations: 31.95 kB / 0.5566 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.1313, allocations: 55.94 kB / 0.5567 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.1314, allocations: 7.984 kB / 0.5567 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.1314, allocations: 19.98 kB / 0.5567 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.129e-05/0.1315, allocations: 23.97 kB / 0.5567 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1315, allocations: 4 kB / 0.5567 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1316, allocations: 59.88 kB / 0.5568 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.1317, allocations: 19.92 kB / 0.5568 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.1317, allocations: 23.91 kB / 0.5568 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1319, allocations: 67.83 kB / 0.5569 GB, free: 9.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1319, allocations: 0 / 0.5569 GB, free: 9.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1319, allocations: 0 / 0.5569 GB, free: 9.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1319, allocations: 4 kB / 0.5569 GB, free: 9.645 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.0005061/0.1324, allocations: 371.6 kB / 0.5573 GB, free: 9.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1325, allocations: 8.031 kB / 0.5573 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.1325, allocations: 46.69 kB / 0.5573 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.1326, allocations: 8.844 kB / 0.5573 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1327, allocations: 164.6 kB / 0.5575 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000272/0.133, allocations: 285.6 kB / 0.5577 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.133, allocations: 4.375 kB / 0.5577 GB, free: 8.617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.1332, allocations: 81.89 kB / 0.5578 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1332, allocations: 0 / 0.5578 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1333, allocations: 4 kB / 0.5578 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1333, allocations: 0 / 0.5578 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.1336, allocations: 139.8 kB / 0.558 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.1338, allocations: 173.7 kB / 0.5581 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.1342, allocations: 90.53 kB / 0.5582 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1343, allocations: 44.83 kB / 0.5583 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1344, allocations: 4.312 kB / 0.5583 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.1344, allocations: 46.38 kB / 0.5583 GB, free: 7.969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.1344, allocations: 0 / 0.5583 GB, free: 7.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005873/0.135, allocations: 145.5 kB / 0.5584 GB, free: 7.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.135, allocations: 59.41 kB / 0.5585 GB, free: 7.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.024e-05/0.1351, allocations: 89.86 kB / 0.5586 GB, free: 7.652 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1351, allocations: 25.7 kB / 0.5586 GB, free: 7.621 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.1351, allocations: 84.12 kB / 0.5587 GB, free: 7.535 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.1352, allocations: 27.56 kB / 0.5587 GB, free: 7.508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.1352, allocations: 33.64 kB / 0.5587 GB, free: 7.469 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1354, allocations: 322.8 kB / 0.5591 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1355, allocations: 35.91 kB / 0.5591 GB, free: 7.109 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1356, allocations: 27.98 kB / 0.5591 GB, free: 7.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.1359, allocations: 77.84 kB / 0.5592 GB, free: 7.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1359, allocations: 4 kB / 0.5592 GB, free: 7 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003339/0.1363, allocations: 110.9 kB / 0.5593 GB, free: 6.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1363, allocations: 19.86 kB / 0.5593 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1363, allocations: 0 / 0.5593 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1363, allocations: 0 / 0.5593 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1365, allocations: 23.98 kB / 0.5593 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1365, allocations: 3.938 kB / 0.5593 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.238e-05/0.1366, allocations: 7.938 kB / 0.5594 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.1366, allocations: 7.984 kB / 0.5594 GB, free: 6.824 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 9.018e-05/0.1367, allocations: 113.8 kB / 0.5595 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.1367, allocations: 11.84 kB / 0.5595 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.1368, allocations: 19.94 kB / 0.5595 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1368, allocations: 0 / 0.5595 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1368, allocations: 4 kB / 0.5595 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1368, allocations: 4 kB / 0.5595 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.1369, allocations: 177.6 kB / 0.5597 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1369, allocations: 0 / 0.5597 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.1371, allocations: 23.97 kB / 0.5597 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1371, allocations: 7.938 kB / 0.5597 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1371, allocations: 4 kB / 0.5597 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1371, allocations: 0 / 0.5597 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1371, allocations: 0 / 0.5597 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.1375, allocations: 154.3 kB / 0.5599 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.1375, allocations: 84.98 kB / 0.5599 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1375, allocations: 4 kB / 0.5599 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.1376, allocations: 4 kB / 0.5599 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.1377, allocations: 11.97 kB / 0.56 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1377, allocations: 8 kB / 0.56 GB, free: 6.109 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.1377, allocations: 75.28 kB / 0.56 GB, free: 6.035 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1377, allocations: 0 / 0.56 GB, free: 6.035 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.138, allocations: 20 kB / 0.5601 GB, free: 6.016 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.0007673/0.1388, allocations: 0.7053 MB / 0.5607 GB, free: 5.285 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.1391, allocations: 83.77 kB / 0.5608 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1391, allocations: 0 / 0.5608 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.1393, allocations: 51.91 kB / 0.5609 GB, free: 5.156 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.1394, allocations: 11.94 kB / 0.5609 GB, free: 5.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.1399, allocations: 208.2 kB / 0.5611 GB, free: 4.902 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.1402, allocations: 0.6848 MB / 0.5618 GB, free: 4.191 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.1403, allocations: 39.95 kB / 0.5618 GB, free: 4.152 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.1404, allocations: 19.42 kB / 0.5618 GB, free: 4.133 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1404, allocations: 0 / 0.5618 GB, free: 4.133 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07899/0.2194, allocations: 1.845 MB / 0.5636 GB, free: 2.387 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/0.2197, allocations: 191.2 kB / 0.5638 GB, free: 2.137 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.141, allocations: 3.938 kB / 0.5638 GB, free: 2.133 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)