Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_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.001133/0.001133, allocations: 108 kB / 15.6 MB, free: 132 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.001169/0.001169, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.022/1.022, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2287, allocations: 82.04 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.004644/0.2334, allocations: 1.521 MB / 0.5959 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006724/0.2341, allocations: 184.2 kB / 0.596 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.2342, allocations: 4 kB / 0.5961 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.2343, allocations: 3.938 kB / 0.5961 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.172e-05/0.2344, allocations: 3.938 kB / 0.5961 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.235, allocations: 43.89 kB / 0.5961 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.2351, allocations: 43.84 kB / 0.5961 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.2353, allocations: 11.98 kB / 0.5962 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.042e-05/0.2354, allocations: 11.94 kB / 0.5962 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.149e-05/0.2355, allocations: 23.92 kB / 0.5962 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.2356, allocations: 8 kB / 0.5962 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.2358, allocations: 47.94 kB / 0.5962 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.2358, allocations: 8 kB / 0.5962 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.2359, allocations: 15.92 kB / 0.5963 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.2362, allocations: 67.78 kB / 0.5963 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.2362, allocations: 3.938 kB / 0.5963 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.398e-06/0.2363, allocations: 0 / 0.5963 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.2363, allocations: 0 / 0.5963 GB, free: 7.48 MB / 0.4981 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.0008534/0.2371, allocations: 351.7 kB / 0.5967 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.2372, allocations: 16.03 kB / 0.5967 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.283e-05/0.2373, allocations: 34.75 kB / 0.5967 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.2374, allocations: 8.844 kB / 0.5967 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.2376, allocations: 168.3 kB / 0.5969 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.2376, allocations: 384 / 0.5969 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.2377, allocations: 8.375 kB / 0.5969 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.238, allocations: 62.2 kB / 0.597 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.238, allocations: 3.938 kB / 0.597 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.238, allocations: 4 kB / 0.597 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2381, allocations: 11.98 kB / 0.597 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.2384, allocations: 43.95 kB / 0.597 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.239, allocations: 280.6 kB / 0.5973 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.2395, allocations: 58.53 kB / 0.5973 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.2397, allocations: 28.91 kB / 0.5974 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.24, allocations: 170.2 kB / 0.5975 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.2401, allocations: 38.55 kB / 0.5976 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.2401, allocations: 0 / 0.5976 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005655/0.2407, allocations: 97.58 kB / 0.5977 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.2407, allocations: 55.41 kB / 0.5977 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2408, allocations: 105.8 kB / 0.5978 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.2409, allocations: 25.7 kB / 0.5978 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.241, allocations: 96.06 kB / 0.5979 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.241, allocations: 3.906 kB / 0.5979 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.241, allocations: 17.72 kB / 0.5979 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2412, allocations: 314.8 kB / 0.5982 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.2413, allocations: 27.97 kB / 0.5983 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.2415, allocations: 19.98 kB / 0.5983 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.2417, allocations: 40.81 kB / 0.5983 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2417, allocations: 0 / 0.5983 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003406/0.2421, allocations: 81.5 kB / 0.5984 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.2421, allocations: 8 kB / 0.5984 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.2421, allocations: 0 / 0.5984 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.2422, allocations: 7.984 kB / 0.5984 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.2423, allocations: 8 kB / 0.5984 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.2423, allocations: 4 kB / 0.5984 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.361e-05/0.2424, allocations: 7.984 kB / 0.5984 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2424, allocations: 0 / 0.5984 GB, free: 5.043 MB / 0.4981 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 (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 0.0001344/0.2426, allocations: 113.8 kB / 0.5986 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.2426, allocations: 11.94 kB / 0.5986 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.2431, allocations: 85.47 kB / 0.5986 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2431, allocations: 4 kB / 0.5987 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.2431, allocations: 0 / 0.5987 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2431, allocations: 0 / 0.5987 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.2434, allocations: 177.6 kB / 0.5988 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2434, allocations: 0 / 0.5988 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.2435, allocations: 12.36 kB / 0.5988 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2436, allocations: 4 kB / 0.5988 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.2436, allocations: 0 / 0.5988 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2436, allocations: 0 / 0.5988 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2436, allocations: 0 / 0.5988 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.244, allocations: 183.4 kB / 0.599 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.2441, allocations: 81.11 kB / 0.5991 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.2441, allocations: 4 kB / 0.5991 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.2443, allocations: 7.984 kB / 0.5991 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.2443, allocations: 4 kB / 0.5991 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.2444, allocations: 4 kB / 0.5991 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.681e-05/0.2444, allocations: 87.2 kB / 0.5992 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2444, allocations: 0 / 0.5992 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004303/0.2449, allocations: 23.94 kB / 0.5992 GB, free: 4.148 MB / 0.4981 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 (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.0008986/0.2458, allocations: 0.724 MB / 0.5999 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.2461, allocations: 47.89 kB / 0.6 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2461, allocations: 0 / 0.6 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.2463, allocations: 23.98 kB / 0.6 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.2467, allocations: 11.98 kB / 0.6 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.2487, allocations: 1.28 MB / 0.6012 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.249, allocations: 0.6845 MB / 0.6019 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.415e-05/0.2491, allocations: 8 kB / 0.6019 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.6e-05/0.2492, allocations: 19.42 kB / 0.6019 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.2492, allocations: 0 / 0.6019 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3611/0.6103, allocations: 1.895 MB / 0.6038 GB, free: 43.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.603, allocations: 8.422 kB / 0.6038 GB, free: 43.53 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)