Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",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.0009056/0.0009055, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00112/0.00112, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.862/1.862, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005235/0.0005236, allocations: 10.81 kB / 0.6738 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2837, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001989/0.2857, allocations: 1.195 MB / 0.7886 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2871, allocations: 0.7115 MB / 0.7893 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.2872, allocations: 0 / 0.7893 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.2872, allocations: 3.938 kB / 0.7893 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/0.2873, allocations: 11.92 kB / 0.7893 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.288, allocations: 95.77 kB / 0.7894 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.2882, allocations: 67.78 kB / 0.7894 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.2883, allocations: 11.98 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.2884, allocations: 27.91 kB / 0.7895 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.239e-05/0.2885, allocations: 35.84 kB / 0.7895 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.2885, allocations: 4 kB / 0.7895 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.2887, allocations: 83.91 kB / 0.7896 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.2888, allocations: 19.91 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.2888, allocations: 29.7 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.289, allocations: 104 kB / 0.7897 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.289, allocations: 4 kB / 0.7897 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.586e-06/0.2891, allocations: 3.938 kB / 0.7897 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2891, allocations: 0 / 0.7897 GB, free: 9.43 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006584/0.2897, allocations: 404.8 kB / 0.7901 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.2898, allocations: 12.03 kB / 0.7901 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.041e-05/0.2898, allocations: 38.56 kB / 0.7902 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.2899, allocations: 7.906 kB / 0.7902 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.29, allocations: 182.9 kB / 0.7904 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.2901, allocations: 0 / 0.7904 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.2901, allocations: 4 kB / 0.7904 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.2903, allocations: 77.64 kB / 0.7904 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2903, allocations: 3.938 kB / 0.7904 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.2903, allocations: 0 / 0.7904 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2903, allocations: 0 / 0.7904 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.2905, allocations: 55.89 kB / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.2911, allocations: 316.7 kB / 0.7908 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.2913, allocations: 54.55 kB / 0.7908 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.2914, allocations: 32.97 kB / 0.7909 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2914, allocations: 4 kB / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.2916, allocations: 87.38 kB / 0.791 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.2916, allocations: 4 kB / 0.791 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004075/0.292, allocations: 141.5 kB / 0.7911 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.2921, allocations: 55.41 kB / 0.7912 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.2922, allocations: 129.8 kB / 0.7913 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.2922, allocations: 25.7 kB / 0.7913 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.2923, allocations: 96.27 kB / 0.7914 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.2924, allocations: 15.8 kB / 0.7914 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.2924, allocations: 0 / 0.7914 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2925, allocations: 318.8 kB / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.122e-05/0.2926, allocations: 31.92 kB / 0.7917 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2927, allocations: 54.55 kB / 0.7918 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.052e-05/0.2928, allocations: 31.98 kB / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2928, allocations: 0 / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002468/0.293, allocations: 125.5 kB / 0.7919 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.2931, allocations: 8 kB / 0.792 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2931, allocations: 0 / 0.792 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2931, allocations: 0 / 0.792 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2932, allocations: 12 kB / 0.792 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2933, allocations: 7.938 kB / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.2933, allocations: 4 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.2934, allocations: 8 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.2935, allocations: 125.8 kB / 0.7921 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.2935, allocations: 7.906 kB / 0.7921 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.2936, allocations: 12.36 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2936, allocations: 4 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2936, allocations: 0 / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2936, allocations: 3.953 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.2941, allocations: 382.5 kB / 0.7925 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2941, allocations: 0 / 0.7925 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.2941, allocations: 4 kB / 0.7925 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.2942, allocations: 4 kB / 0.7925 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.2942, allocations: 7.922 kB / 0.7925 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.2942, allocations: 3.953 kB / 0.7925 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2942, allocations: 3.938 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.2945, allocations: 215.4 kB / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.2946, allocations: 85.02 kB / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.2946, allocations: 7.984 kB / 0.7928 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.2947, allocations: 4 kB / 0.7928 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.2948, allocations: 15.94 kB / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.2948, allocations: 3.938 kB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.2948, allocations: 95.27 kB / 0.7929 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2948, allocations: 0 / 0.7929 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003466/0.2952, allocations: 36 kB / 0.793 GB, free: 5.781 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0011/0.2963, allocations: 0.8121 MB / 0.7938 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.2966, allocations: 75.89 kB / 0.7938 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2966, allocations: 128 / 0.7938 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.995e-05/0.2967, allocations: 43.97 kB / 0.7939 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.2971, allocations: 11.89 kB / 0.7939 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.2987, allocations: 0.6141 MB / 0.7945 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.2992, allocations: 0.6926 MB / 0.7952 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.839e-05/0.2993, allocations: 4.188 kB / 0.7952 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.2994, allocations: 19.42 kB / 0.7952 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.2994, allocations: 0 / 0.7952 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.3162, allocations: 2.33 MB / 0.7975 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/0.3165, allocations: 255.9 kB / 0.7977 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.24, allocations: 4 kB / 0.7977 GB, free: 0.9492 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) Environment - environmentSimulation: