Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_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.006152/0.006152, allocations: 101 kB / 15.73 MB, free: 6.055 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.001397/0.001398, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.002459, allocations: 287.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 95.86 kB / 0.681 GB, free: 7.398 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4543, allocations: 86.98 MB / 0.7659 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001838/0.4562, allocations: 0.5816 MB / 0.7665 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003923/0.4566, allocations: 107.6 kB / 0.7666 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.4566, allocations: 3.938 kB / 0.7666 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.4566, allocations: 0 / 0.7666 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-06/0.4567, allocations: 3.938 kB / 0.7666 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.457, allocations: 39.89 kB / 0.7667 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.4571, allocations: 63.94 kB / 0.7667 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.4572, allocations: 4 kB / 0.7667 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.848e-05/0.4572, allocations: 23.97 kB / 0.7668 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.4573, allocations: 23.91 kB / 0.7668 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.4573, allocations: 4 kB / 0.7668 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.4574, allocations: 55.94 kB / 0.7668 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.4575, allocations: 19.97 kB / 0.7669 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.4575, allocations: 15.92 kB / 0.7669 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.4577, allocations: 75.62 kB / 0.7669 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4577, allocations: 4 kB / 0.7669 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4577, allocations: 0 / 0.7669 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.4577, allocations: 0 / 0.7669 GB, free: 2.809 MB / 0.5294 GB 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.0005384/0.4582, allocations: 380.6 kB / 0.7673 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4583, allocations: 12.03 kB / 0.7673 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.4583, allocations: 34.75 kB / 0.7673 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.4584, allocations: 8.938 kB / 0.7674 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.4585, allocations: 168.3 kB / 0.7675 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/0.4588, allocations: 285.5 kB / 0.7678 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.4588, allocations: 8.375 kB / 0.7678 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.4591, allocations: 85.94 kB / 0.7679 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4591, allocations: 0 / 0.7679 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4591, allocations: 0 / 0.7679 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4591, allocations: 4 kB / 0.7679 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.4595, allocations: 131.8 kB / 0.768 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.4597, allocations: 173.6 kB / 0.7682 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.46, allocations: 98.56 kB / 0.7683 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.4601, allocations: 52.98 kB / 0.7683 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.4602, allocations: 4 kB / 0.7683 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.4602, allocations: 38.5 kB / 0.7684 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.4602, allocations: 0 / 0.7684 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005264/0.4607, allocations: 141.6 kB / 0.7685 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.4608, allocations: 51.41 kB / 0.7685 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.1e-05/0.4609, allocations: 89.86 kB / 0.7686 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.4609, allocations: 37.7 kB / 0.7687 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.4609, allocations: 84.08 kB / 0.7687 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.461, allocations: 43.61 kB / 0.7688 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.4611, allocations: 33.64 kB / 0.7688 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4612, allocations: 310.8 kB / 0.7691 GB, free: 304 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.4613, allocations: 31.97 kB / 0.7691 GB, free: 272 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.4615, allocations: 35.97 kB / 0.7692 GB, free: 236 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.4618, allocations: 81.41 kB / 0.7693 GB, free: 152 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4618, allocations: 0 / 0.7693 GB, free: 152 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003232/0.4621, allocations: 117.5 kB / 0.7694 GB, free: 28 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4621, allocations: 7.938 kB / 0.7694 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4621, allocations: 0 / 0.7694 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4621, allocations: 4 kB / 0.7694 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.4623, allocations: 23.97 kB / 0.7694 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4623, allocations: 0 / 0.7694 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.4624, allocations: 11.88 kB / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.4624, allocations: 4 kB / 0.7694 GB, free: 15.98 MB / 0.545 GB 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.619e-05/0.4625, allocations: 121.8 kB / 0.7695 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.4625, allocations: 7.891 kB / 0.7695 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.4626, allocations: 15.97 kB / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4626, allocations: 0 / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4626, allocations: 0 / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4626, allocations: 0 / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.4628, allocations: 173.7 kB / 0.7697 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4628, allocations: 3.984 kB / 0.7697 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.4629, allocations: 27.91 kB / 0.7698 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.4629, allocations: 7.938 kB / 0.7698 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4629, allocations: 4 kB / 0.7698 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4629, allocations: 0 / 0.7698 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.463, allocations: 0 / 0.7698 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.4633, allocations: 141 kB / 0.7699 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.4634, allocations: 89 kB / 0.77 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.4634, allocations: 4 kB / 0.77 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.4634, allocations: 11.98 kB / 0.77 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.4635, allocations: 11.98 kB / 0.77 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.4635, allocations: 4 kB / 0.77 GB, free: 15.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.4636, allocations: 75.28 kB / 0.7701 GB, free: 15.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4636, allocations: 0 / 0.7701 GB, free: 15.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003071/0.4639, allocations: 27.92 kB / 0.7701 GB, free: 15.16 MB / 0.545 GB 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.0007535/0.4646, allocations: 0.7021 MB / 0.7708 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003376/0.465, allocations: 83.88 kB / 0.7709 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.465, allocations: 0 / 0.7709 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.4652, allocations: 55.89 kB / 0.7709 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.4654, allocations: 4 kB / 0.7709 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.4659, allocations: 199.2 kB / 0.7711 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.4663, allocations: 0.6885 MB / 0.7718 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001788/0.4664, allocations: 39.94 kB / 0.7718 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.4665, allocations: 19.42 kB / 0.7719 GB, free: 13.29 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.4665, allocations: 0 / 0.7719 GB, free: 13.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.4891, allocations: 2.036 MB / 0.7738 GB, free: 11.37 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.216, allocations: 12.62 kB / 0.7739 GB, free: 11.36 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)