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.001002/0.001003, 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.001006/0.001006, allocations: 203.3 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.274/1.274, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6313/0.6313, allocations: 115.3 MB / 405.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.38 kB / 493 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1359, allocations: 76.2 MB / 0.5559 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002548/0.1385, allocations: 1.582 MB / 0.5574 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004651/0.139, allocations: 180.3 kB / 0.5576 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.139, allocations: 0 / 0.5576 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.1391, allocations: 3.938 kB / 0.5576 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.082e-05/0.1391, allocations: 3.984 kB / 0.5576 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1394, allocations: 39.89 kB / 0.5576 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.1394, allocations: 39.86 kB / 0.5577 GB, free: 8.867 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.626e-05/0.1395, allocations: 12 kB / 0.5577 GB, free: 8.855 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.683e-05/0.1395, allocations: 11.98 kB / 0.5577 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.267e-05/0.1396, allocations: 23.91 kB / 0.5577 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1396, allocations: 0 / 0.5577 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1397, allocations: 47.91 kB / 0.5577 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.1397, allocations: 7.984 kB / 0.5578 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.1398, allocations: 11.94 kB / 0.5578 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.1399, allocations: 59.84 kB / 0.5578 GB, free: 8.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.1399, allocations: 4 kB / 0.5578 GB, free: 8.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1399, allocations: 0 / 0.5578 GB, free: 8.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.1399, allocations: 3.938 kB / 0.5578 GB, free: 8.688 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.0004118/0.1403, allocations: 359.7 kB / 0.5582 GB, free: 8.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1404, allocations: 12.03 kB / 0.5582 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.1404, allocations: 30.75 kB / 0.5582 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.1405, allocations: 4.938 kB / 0.5582 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.986e-05/0.1406, allocations: 168.3 kB / 0.5584 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1406, allocations: 4.375 kB / 0.5584 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.1406, allocations: 16.3 kB / 0.5584 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1408, allocations: 62.22 kB / 0.5585 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1408, allocations: 3.938 kB / 0.5585 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1408, allocations: 4 kB / 0.5585 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.1408, allocations: 0 / 0.5585 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.141, allocations: 47.89 kB / 0.5585 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1414, allocations: 292.6 kB / 0.5588 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1417, allocations: 54.55 kB / 0.5588 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.246e-05/0.1418, allocations: 28.89 kB / 0.5589 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.142, allocations: 166.2 kB / 0.559 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.142, allocations: 34.56 kB / 0.5591 GB, free: 7.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.142, allocations: 0 / 0.5591 GB, free: 7.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003552/0.1424, allocations: 101.6 kB / 0.5592 GB, free: 7.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.1424, allocations: 51.41 kB / 0.5592 GB, free: 7.047 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.753e-05/0.1425, allocations: 105.8 kB / 0.5593 GB, free: 6.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.1425, allocations: 25.7 kB / 0.5593 GB, free: 6.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.1425, allocations: 92.14 kB / 0.5594 GB, free: 6.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.1425, allocations: 3.984 kB / 0.5594 GB, free: 6.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.1426, allocations: 21.66 kB / 0.5594 GB, free: 6.777 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.623e-05/0.1427, allocations: 318.8 kB / 0.5597 GB, free: 6.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.803e-05/0.1428, allocations: 19.98 kB / 0.5598 GB, free: 6.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.904e-05/0.1428, allocations: 23.97 kB / 0.5598 GB, free: 6.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.143, allocations: 44.83 kB / 0.5598 GB, free: 6.367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.143, allocations: 0 / 0.5598 GB, free: 6.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002034/0.1432, allocations: 81.48 kB / 0.5599 GB, free: 6.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1432, allocations: 4 kB / 0.5599 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1432, allocations: 0 / 0.5599 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.1433, allocations: 4 kB / 0.5599 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.1433, allocations: 7.984 kB / 0.5599 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1434, allocations: 8 kB / 0.5599 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.1434, allocations: 8 kB / 0.5599 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1434, allocations: 3.984 kB / 0.5599 GB, free: 6.246 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 (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.457e-05/0.1435, allocations: 109.8 kB / 0.56 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.1435, allocations: 4 kB / 0.5601 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.1438, allocations: 89.81 kB / 0.5601 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1438, allocations: 4 kB / 0.5601 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1438, allocations: 0 / 0.5601 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1438, allocations: 4.031 kB / 0.5601 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1439, allocations: 169.6 kB / 0.5603 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1439, allocations: 0 / 0.5603 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.375e-05/0.144, allocations: 11.98 kB / 0.5603 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.144, allocations: 0 / 0.5603 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.144, allocations: 4 kB / 0.5603 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1441, allocations: 0 / 0.5603 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1441, allocations: 0 / 0.5603 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1443, allocations: 179.3 kB / 0.5605 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.1443, allocations: 81.11 kB / 0.5606 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1444, allocations: 3.938 kB / 0.5606 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.1445, allocations: 11.98 kB / 0.5606 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.1445, allocations: 15.92 kB / 0.5606 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1445, allocations: 0 / 0.5606 GB, free: 5.469 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.717e-05/0.1446, allocations: 87.28 kB / 0.5607 GB, free: 5.383 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1446, allocations: 0 / 0.5607 GB, free: 5.383 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.1448, allocations: 23.88 kB / 0.5607 GB, free: 5.359 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 (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.0005215/0.1453, allocations: 0.7233 MB / 0.5614 GB, free: 4.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1455, allocations: 47.89 kB / 0.5615 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1456, allocations: 0 / 0.5615 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.815e-05/0.1457, allocations: 27.97 kB / 0.5615 GB, free: 4.539 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.1459, allocations: 9.719 kB / 0.5615 GB, free: 4.531 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1471, allocations: 1.29 MB / 0.5628 GB, free: 3.164 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.1473, allocations: 0.677 MB / 0.5634 GB, free: 2.461 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.245e-05/0.1474, allocations: 7.984 kB / 0.5634 GB, free: 2.453 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.1474, allocations: 19.38 kB / 0.5634 GB, free: 2.434 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1474, allocations: 4 kB / 0.5634 GB, free: 2.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3286/0.4761, allocations: 1.694 MB / 0.5651 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003576/0.4765, allocations: 190.9 kB / 0.5653 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/2.868, allocations: 4 kB / 0.5653 GB, free: 0.5625 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/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)