Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_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.001483/0.001483, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.001655/0.001655, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.739/2.739, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.885/4.885, allocations: 409.2 MB / 0.6838 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006311/0.0006311, allocations: 16 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452/1.452, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002937/1.455, allocations: 1.243 MB / 0.9821 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007874/1.456, allocations: 168.4 kB / 0.9822 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/1.456, allocations: 0 / 0.9822 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/1.456, allocations: 0 / 0.9822 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.163e-05/1.456, allocations: 3.984 kB / 0.9822 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/1.457, allocations: 47.81 kB / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/1.457, allocations: 15.94 kB / 0.9823 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/1.457, allocations: 19.97 kB / 0.9823 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.761e-05/1.457, allocations: 15.92 kB / 0.9823 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.766e-05/1.457, allocations: 11.98 kB / 0.9824 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/1.457, allocations: 0 / 0.9824 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/1.458, allocations: 35.95 kB / 0.9824 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/1.458, allocations: 7.938 kB / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/1.458, allocations: 29.7 kB / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/1.458, allocations: 39.92 kB / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.458, allocations: 0 / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.128e-06/1.458, allocations: 4 kB / 0.9825 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.626e-06/1.458, allocations: 0 / 0.9825 GB, free: 4.625 MB / 0.7325 GB 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.001042/1.459, allocations: 357.5 kB / 0.9828 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.936e-05/1.459, allocations: 12.03 kB / 0.9828 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.23e-05/1.459, allocations: 34.56 kB / 0.9829 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/1.459, allocations: 7.906 kB / 0.9829 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/1.46, allocations: 167 kB / 0.983 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/1.46, allocations: 8 kB / 0.983 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/1.46, allocations: 4 kB / 0.983 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/1.46, allocations: 69.61 kB / 0.9831 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.46, allocations: 0 / 0.9831 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/1.46, allocations: 4 kB / 0.9831 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/1.46, allocations: 0 / 0.9831 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/1.46, allocations: 51.95 kB / 0.9831 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/1.461, allocations: 288.7 kB / 0.9834 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/1.462, allocations: 58.55 kB / 0.9835 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/1.462, allocations: 174.3 kB / 0.9836 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/1.462, allocations: 30.56 kB / 0.9837 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/1.462, allocations: 0 / 0.9837 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0006662/1.463, allocations: 109.6 kB / 0.9838 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/1.463, allocations: 55.41 kB / 0.9838 GB, free: 3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/1.463, allocations: 109.8 kB / 0.9839 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/1.463, allocations: 25.7 kB / 0.984 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/1.463, allocations: 92.12 kB / 0.984 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/1.463, allocations: 11.97 kB / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/1.463, allocations: 0 / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000203/1.463, allocations: 314.8 kB / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/1.464, allocations: 23.97 kB / 0.9844 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/1.464, allocations: 27.98 kB / 0.9844 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/1.464, allocations: 27.92 kB / 0.9844 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.464, allocations: 0 / 0.9844 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003691/1.464, allocations: 101.4 kB / 0.9845 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/1.464, allocations: 7.938 kB / 0.9845 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.464, allocations: 0 / 0.9845 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/1.464, allocations: 4 kB / 0.9845 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/1.465, allocations: 11.98 kB / 0.9846 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/1.465, allocations: 0 / 0.9846 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.584e-05/1.465, allocations: 12.27 kB / 0.9846 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/1.465, allocations: 7.984 kB / 0.9846 GB, free: 2.203 MB / 0.7325 GB 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 0.0001833/1.465, allocations: 109.8 kB / 0.9847 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/1.465, allocations: 11.94 kB / 0.9847 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/1.465, allocations: 93.48 kB / 0.9848 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/1.465, allocations: 4 kB / 0.9848 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.466, allocations: 0 / 0.9848 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.466, allocations: 0 / 0.9848 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/1.466, allocations: 169.6 kB / 0.9849 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.466, allocations: 4 kB / 0.985 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/1.466, allocations: 15.98 kB / 0.985 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/1.466, allocations: 3.953 kB / 0.985 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/1.466, allocations: 0 / 0.985 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.466, allocations: 0 / 0.985 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.466, allocations: 8 kB / 0.985 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/1.467, allocations: 175.5 kB / 0.9851 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/1.467, allocations: 77.11 kB / 0.9852 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/1.467, allocations: 3.953 kB / 0.9852 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/1.467, allocations: 19.98 kB / 0.9852 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.912e-05/1.467, allocations: 11.92 kB / 0.9853 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/1.467, allocations: 0 / 0.9853 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001045/1.467, allocations: 87.58 kB / 0.9853 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/1.467, allocations: 4 kB / 0.9853 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004414/1.468, allocations: 16 kB / 0.9854 GB, free: 1.301 MB / 0.7325 GB 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.001366/1.469, allocations: 0.7357 MB / 0.9861 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004494/1.47, allocations: 59.89 kB / 0.9861 GB, free: 488 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.47, allocations: 0 / 0.9861 GB, free: 488 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/1.47, allocations: 31.97 kB / 0.9862 GB, free: 456 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/1.47, allocations: 11.95 kB / 0.9862 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/1.472, allocations: 454.5 kB / 0.9866 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/1.472, allocations: 0.6809 MB / 0.9873 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.04e-05/1.473, allocations: 7.984 kB / 0.9873 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/1.473, allocations: 15.44 kB / 0.9873 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of SimCode: time 1.643e-06/1.473, allocations: 4 kB / 0.9873 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/1.493, allocations: 1.594 MB / 0.9889 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000355/1.494, allocations: 175.4 kB / 0.989 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.888/4.382, allocations: 0 / 0.989 GB, free: 13.48 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat does not exist to compare? outputFormat=mat