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.0007166/0.0007166, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007806/0.0007806, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.175/1.175, allocations: 223.3 MB / 240.6 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6079/0.6079, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002676, allocations: 12 kB / 493.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1174, allocations: 77.11 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.001322/0.1188, allocations: 1.229 MB / 0.5581 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003512/0.1192, allocations: 168.4 kB / 0.5583 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.1192, allocations: 4 kB / 0.5583 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.1192, allocations: 0 / 0.5583 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.629e-05/0.1193, allocations: 3.938 kB / 0.5583 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.1195, allocations: 35.95 kB / 0.5583 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.254e-05/0.1195, allocations: 31.92 kB / 0.5583 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.387e-05/0.1196, allocations: 11.97 kB / 0.5583 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.37e-05/0.1196, allocations: 11.94 kB / 0.5584 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.43e-05/0.1197, allocations: 19.92 kB / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1197, allocations: 4 kB / 0.5584 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.1198, allocations: 39.95 kB / 0.5584 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.497e-06/0.1198, allocations: 3.984 kB / 0.5584 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.1198, allocations: 37.64 kB / 0.5585 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.825e-05/0.1199, allocations: 35.94 kB / 0.5585 GB, free: 10 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1199, allocations: 0 / 0.5585 GB, free: 10 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1199, allocations: 0 / 0.5585 GB, free: 10 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.1199, allocations: 0 / 0.5585 GB, free: 10 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.0003755/0.1203, allocations: 367.5 kB / 0.5588 GB, free: 9.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1204, allocations: 8.031 kB / 0.5588 GB, free: 9.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.1204, allocations: 30.56 kB / 0.5589 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.898e-05/0.1204, allocations: 4 kB / 0.5589 GB, free: 9.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.536e-05/0.1205, allocations: 163.1 kB / 0.559 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1206, allocations: 8 kB / 0.559 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.1206, allocations: 0 / 0.559 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1207, allocations: 81.59 kB / 0.5591 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.1208, allocations: 3.938 kB / 0.5591 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.1208, allocations: 0 / 0.5591 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1208, allocations: 0 / 0.5591 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.1209, allocations: 55.95 kB / 0.5592 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.1213, allocations: 284.7 kB / 0.5595 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.1215, allocations: 62.48 kB / 0.5595 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.758e-05/0.1216, allocations: 40.83 kB / 0.5595 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.1218, allocations: 166.2 kB / 0.5597 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.1219, allocations: 34.56 kB / 0.5597 GB, free: 8.512 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1219, allocations: 0 / 0.5597 GB, free: 8.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003274/0.1222, allocations: 117.5 kB / 0.5599 GB, free: 8.391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.1222, allocations: 55.41 kB / 0.5599 GB, free: 8.324 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.138e-05/0.1223, allocations: 105.8 kB / 0.56 GB, free: 8.211 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1223, allocations: 29.64 kB / 0.56 GB, free: 8.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.436e-05/0.1224, allocations: 88.14 kB / 0.5601 GB, free: 8.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/0.1224, allocations: 7.984 kB / 0.5601 GB, free: 8.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.1224, allocations: 0 / 0.5601 GB, free: 8.078 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.1225, allocations: 318.8 kB / 0.5604 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.1226, allocations: 23.92 kB / 0.5605 GB, free: 7.734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.631e-05/0.1226, allocations: 27.98 kB / 0.5605 GB, free: 7.707 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.1227, allocations: 27.97 kB / 0.5605 GB, free: 7.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1227, allocations: 3.953 kB / 0.5605 GB, free: 7.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001848/0.1229, allocations: 89.66 kB / 0.5606 GB, free: 7.582 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.123, allocations: 8 kB / 0.5606 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.123, allocations: 0 / 0.5606 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.597e-06/0.123, allocations: 0 / 0.5606 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.123, allocations: 11.98 kB / 0.5606 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1231, allocations: 0 / 0.5606 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.1231, allocations: 11.98 kB / 0.5606 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1231, allocations: 3.938 kB / 0.5606 GB, free: 7.547 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.795e-05/0.1232, allocations: 117.8 kB / 0.5607 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.1232, allocations: 7.859 kB / 0.5608 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.1235, allocations: 89.55 kB / 0.5608 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1235, allocations: 4 kB / 0.5608 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1235, allocations: 4 kB / 0.5608 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1235, allocations: 0 / 0.5608 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.1236, allocations: 173.6 kB / 0.561 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1236, allocations: 0 / 0.561 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.63e-05/0.1237, allocations: 11.95 kB / 0.561 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1237, allocations: 0 / 0.561 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1237, allocations: 7.984 kB / 0.561 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1237, allocations: 0 / 0.561 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1237, allocations: 3.938 kB / 0.561 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.124, allocations: 175.5 kB / 0.5612 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.124, allocations: 89.02 kB / 0.5613 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.124, allocations: 7.938 kB / 0.5613 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.1241, allocations: 8 kB / 0.5613 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1242, allocations: 7.984 kB / 0.5613 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1242, allocations: 3.938 kB / 0.5613 GB, free: 6.746 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.999e-05/0.1242, allocations: 91.27 kB / 0.5614 GB, free: 6.656 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1242, allocations: 0 / 0.5614 GB, free: 6.656 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.1245, allocations: 12 kB / 0.5614 GB, free: 6.645 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 (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.0005044/0.125, allocations: 0.7407 MB / 0.5621 GB, free: 5.879 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.1252, allocations: 59.98 kB / 0.5622 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1252, allocations: 0 / 0.5622 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/0.1253, allocations: 31.97 kB / 0.5622 GB, free: 5.789 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.1255, allocations: 7.953 kB / 0.5622 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000722/0.1262, allocations: 462.4 kB / 0.5627 GB, free: 5.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.1265, allocations: 0.677 MB / 0.5633 GB, free: 4.582 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.841e-05/0.1265, allocations: 4 kB / 0.5633 GB, free: 4.578 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.1265, allocations: 19.42 kB / 0.5634 GB, free: 4.559 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1265, allocations: 0 / 0.5634 GB, free: 4.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009665/0.1362, allocations: 1.617 MB / 0.5649 GB, free: 3.074 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.1364, allocations: 172.3 kB / 0.5651 GB, free: 2.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/1.614, allocations: 0 / 0.5651 GB, free: 2.832 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/linux/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) Environment - environmentSimulation: