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.000731/0.0007311, allocations: 92.7 kB / 15.7 MB, free: 472 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.0007793/0.0007794, allocations: 170.2 kB / 16.58 MB, free: 6.848 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.173/1.173, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.598/0.598, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002879, allocations: 12 kB / 493.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1148, allocations: 77.12 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.0005589/0.1154, allocations: 303.1 kB / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002908/0.1157, allocations: 99.73 kB / 0.5573 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.426e-05/0.1157, allocations: 0 / 0.5573 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.1157, allocations: 0 / 0.5573 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.749e-06/0.1157, allocations: 0 / 0.5573 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.116, allocations: 31.91 kB / 0.5573 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.135e-05/0.1161, allocations: 55.88 kB / 0.5574 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.1161, allocations: 7.984 kB / 0.5574 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.723e-05/0.1161, allocations: 23.97 kB / 0.5574 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.971e-05/0.1162, allocations: 23.97 kB / 0.5574 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1162, allocations: 4 kB / 0.5574 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1163, allocations: 43.95 kB / 0.5575 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.1163, allocations: 19.92 kB / 0.5575 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.1164, allocations: 33.64 kB / 0.5575 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.905e-05/0.1165, allocations: 43.92 kB / 0.5576 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1165, allocations: 0 / 0.5576 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1165, allocations: 0 / 0.5576 GB, free: 10.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1165, allocations: 0 / 0.5576 GB, free: 10.99 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.0003884/0.1169, allocations: 359.4 kB / 0.5579 GB, free: 10.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1169, allocations: 8.031 kB / 0.5579 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.117, allocations: 38.56 kB / 0.558 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.117, allocations: 11.89 kB / 0.558 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.909e-05/0.1171, allocations: 163.3 kB / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.1173, allocations: 281 kB / 0.5584 GB, free: 9.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1173, allocations: 4 kB / 0.5584 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.1176, allocations: 85.52 kB / 0.5585 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1176, allocations: 4 kB / 0.5585 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1176, allocations: 4 kB / 0.5585 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1176, allocations: 3.938 kB / 0.5585 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.1179, allocations: 131.8 kB / 0.5586 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.1181, allocations: 173.7 kB / 0.5588 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.1183, allocations: 94.5 kB / 0.5589 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1185, allocations: 50.89 kB / 0.5589 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1185, allocations: 11.92 kB / 0.5589 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.1185, allocations: 30.56 kB / 0.559 GB, free: 9.336 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1185, allocations: 0 / 0.559 GB, free: 9.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004556/0.119, allocations: 153.7 kB / 0.5591 GB, free: 9.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.119, allocations: 51.41 kB / 0.5592 GB, free: 9.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.046e-05/0.119, allocations: 93.86 kB / 0.5592 GB, free: 9.016 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1191, allocations: 25.7 kB / 0.5593 GB, free: 8.984 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.164e-05/0.1191, allocations: 80.33 kB / 0.5593 GB, free: 8.898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.1191, allocations: 39.55 kB / 0.5594 GB, free: 8.859 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.1192, allocations: 4 kB / 0.5594 GB, free: 8.855 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.1193, allocations: 310.8 kB / 0.5597 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.1194, allocations: 31.97 kB / 0.5597 GB, free: 8.512 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.1195, allocations: 41.05 kB / 0.5597 GB, free: 8.473 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1196, allocations: 31.98 kB / 0.5598 GB, free: 8.441 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1196, allocations: 0 / 0.5598 GB, free: 8.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002782/0.1199, allocations: 114.5 kB / 0.5599 GB, free: 8.324 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.1199, allocations: 11.98 kB / 0.5599 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.1199, allocations: 0 / 0.5599 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.12, allocations: 7.953 kB / 0.5599 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1201, allocations: 23.98 kB / 0.5599 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1201, allocations: 0 / 0.5599 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.1202, allocations: 11.92 kB / 0.5599 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1202, allocations: 4 kB / 0.5599 GB, free: 8.266 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.775e-05/0.1203, allocations: 118.4 kB / 0.5601 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.1203, allocations: 7.891 kB / 0.5601 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.1203, allocations: 19.97 kB / 0.5601 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1203, allocations: 0 / 0.5601 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1203, allocations: 3.953 kB / 0.5601 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.1203, allocations: 0 / 0.5601 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.1205, allocations: 177.6 kB / 0.5603 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1205, allocations: 0 / 0.5603 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1206, allocations: 23.97 kB / 0.5603 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1206, allocations: 0 / 0.5603 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1206, allocations: 4 kB / 0.5603 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1206, allocations: 0 / 0.5603 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1206, allocations: 8 kB / 0.5603 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.1209, allocations: 152.7 kB / 0.5604 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.121, allocations: 88.95 kB / 0.5605 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.121, allocations: 0 / 0.5605 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/0.1211, allocations: 8 kB / 0.5605 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.1211, allocations: 11.97 kB / 0.5605 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.1211, allocations: 4 kB / 0.5605 GB, free: 7.559 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.383e-05/0.1211, allocations: 83.23 kB / 0.5606 GB, free: 7.477 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1212, allocations: 0 / 0.5606 GB, free: 7.477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000198/0.1214, allocations: 23.98 kB / 0.5606 GB, free: 7.453 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 (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.0005834/0.1219, allocations: 0.6872 MB / 0.5613 GB, free: 6.738 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.1222, allocations: 87.88 kB / 0.5614 GB, free: 6.652 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1222, allocations: 0 / 0.5614 GB, free: 6.652 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1224, allocations: 55.89 kB / 0.5615 GB, free: 6.598 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.1225, allocations: 0 / 0.5615 GB, free: 6.598 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.1229, allocations: 208.3 kB / 0.5617 GB, free: 6.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.1232, allocations: 0.6887 MB / 0.5623 GB, free: 5.641 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.1233, allocations: 35.95 kB / 0.5624 GB, free: 5.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.1233, allocations: 27.42 kB / 0.5624 GB, free: 5.578 MB / 430.1 MB Notification: Performance of SimCode: time 2e-07/0.1234, allocations: 0 / 0.5624 GB, free: 5.578 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01042/0.1338, allocations: 1.755 MB / 0.5641 GB, free: 3.953 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.134, allocations: 184.6 kB / 0.5643 GB, free: 3.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/1.595, allocations: 3.938 kB / 0.5643 GB, free: 3.711 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/linux/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) Environment - environmentSimulation: