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: translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 115.4 kB / 17.09 MB, free: 5.988 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.001054/0.001054, allocations: 200.2 kB / 18.03 MB, free: 5.062 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.215/1.215, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.664/0.664, allocations: 115.3 MB / 407.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 66.84 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1108, allocations: 76.19 MB / 0.6327 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002308/0.1131, allocations: 1.523 MB / 0.6342 GB, free: 2.828 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003949/0.1135, allocations: 176.3 kB / 0.6344 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.1136, allocations: 0 / 0.6344 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.1136, allocations: 3.938 kB / 0.6344 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.338e-05/0.1136, allocations: 3.938 kB / 0.6344 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1139, allocations: 47.88 kB / 0.6345 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.594e-05/0.114, allocations: 39.86 kB / 0.6345 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.707e-05/0.1141, allocations: 19.97 kB / 0.6345 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.503e-05/0.1141, allocations: 11.94 kB / 0.6345 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.963e-05/0.1142, allocations: 23.91 kB / 0.6345 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1142, allocations: 4 kB / 0.6346 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1143, allocations: 47.95 kB / 0.6346 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.1143, allocations: 11.98 kB / 0.6346 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.1143, allocations: 15.94 kB / 0.6346 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1145, allocations: 71.72 kB / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1145, allocations: 0 / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1145, allocations: 0 / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.1145, allocations: 0 / 0.6347 GB, free: 2.355 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.0004216/0.1149, allocations: 359.4 kB / 0.635 GB, free: 1.953 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.115, allocations: 12.03 kB / 0.635 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.115, allocations: 0.9375 kB / 0.635 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.1151, allocations: 168.3 kB / 0.6352 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1151, allocations: 4.375 kB / 0.6352 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.1151, allocations: 384 / 0.6352 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1153, allocations: 66.22 kB / 0.6353 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1153, allocations: 192 / 0.6353 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.1153, allocations: 3.938 kB / 0.6353 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1153, allocations: 0 / 0.6353 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.1155, allocations: 51.83 kB / 0.6353 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.1159, allocations: 288.7 kB / 0.6356 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.1162, allocations: 58.53 kB / 0.6357 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.344e-05/0.1163, allocations: 24.91 kB / 0.6357 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.1165, allocations: 170.1 kB / 0.6358 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1165, allocations: 46.5 kB / 0.6359 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1165, allocations: 0 / 0.6359 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003672/0.1169, allocations: 85.78 kB / 0.636 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.1169, allocations: 55.39 kB / 0.636 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.117, allocations: 109.9 kB / 0.6361 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.117, allocations: 25.7 kB / 0.6362 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.1171, allocations: 88.12 kB / 0.6362 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.1171, allocations: 7.906 kB / 0.6362 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.1171, allocations: 13.72 kB / 0.6363 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1172, allocations: 322.8 kB / 0.6366 GB, free: 184 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.1173, allocations: 11.98 kB / 0.6366 GB, free: 172 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.1174, allocations: 35.94 kB / 0.6366 GB, free: 136 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.1176, allocations: 52.77 kB / 0.6367 GB, free: 80 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1176, allocations: 0 / 0.6367 GB, free: 80 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002179/0.1178, allocations: 77.61 kB / 0.6367 GB, free: 15.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1178, allocations: 8 kB / 0.6367 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1178, allocations: 0 / 0.6367 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1179, allocations: 0 / 0.6367 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.1179, allocations: 11.98 kB / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.118, allocations: 0 / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.118, allocations: 8 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.118, allocations: 0 / 0.6368 GB, free: 15.96 MB / 494.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 7.677e-05/0.1181, allocations: 125.6 kB / 0.6369 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.1181, allocations: 0 / 0.6369 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.1184, allocations: 81.55 kB / 0.637 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1184, allocations: 0 / 0.637 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1184, allocations: 4 kB / 0.637 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.1184, allocations: 81.02 kB / 0.637 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.1185, allocations: 4 kB / 0.637 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.1186, allocations: 7.984 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.1186, allocations: 7.938 kB / 0.6371 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002806/0.1189, allocations: 164.8 kB / 0.6372 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002664/0.1192, allocations: 242.8 kB / 0.6375 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.831e-05/0.1193, allocations: 23.97 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.51e-05/0.1193, allocations: 91.22 kB / 0.6376 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Backend: time 2.01e-07/0.1193, allocations: 0 / 0.6376 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.1198, allocations: 130.6 kB / 0.6377 GB, free: 14.95 MB / 494.1 MB Notification: Performance of SimCode: time 0.000353/0.1201, allocations: 0.561 MB / 0.6382 GB, free: 14.34 MB / 494.1 MB Notification: Performance of Templates: time 0.002848/0.123, allocations: 1.085 MB / 0.6393 GB, free: 13.26 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)