Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",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.001052/0.001052, allocations: 102.8 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.001179/0.001179, allocations: 173.3 kB / 15.95 MB, free: 212 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.991/1.991, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.875/1.875, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0005558/0.0005559, allocations: 15.06 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2733, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002701/0.276, allocations: 1.891 MB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.2781, allocations: 1.239 MB / 0.7903 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.2782, allocations: 4 kB / 0.7903 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.2787, allocations: 175.3 kB / 0.7905 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.279, allocations: 115.7 kB / 0.7906 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.2794, allocations: 115.7 kB / 0.7907 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.2797, allocations: 171.7 kB / 0.7908 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.2798, allocations: 56.58 kB / 0.7909 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.28, allocations: 91.62 kB / 0.791 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.2801, allocations: 99.55 kB / 0.7911 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.2802, allocations: 7.938 kB / 0.7911 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.2803, allocations: 35.92 kB / 0.7911 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2804, allocations: 83.72 kB / 0.7912 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.241e-05/0.2805, allocations: 81.45 kB / 0.7913 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.2808, allocations: 295.3 kB / 0.7916 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2808, allocations: 0 / 0.7916 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2808, allocations: 0 / 0.7916 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2808, allocations: 0 / 0.7916 GB, free: 7.438 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001066/0.2819, allocations: 0.657 MB / 0.7922 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2819, allocations: 8.031 kB / 0.7922 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.2821, allocations: 42.55 kB / 0.7922 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.2822, allocations: 47.39 kB / 0.7923 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006118/0.2828, allocations: 383 kB / 0.7927 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2828, allocations: 8 kB / 0.7927 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.2829, allocations: 12 kB / 0.7927 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.2831, allocations: 100.8 kB / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2831, allocations: 0 / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.2831, allocations: 3.984 kB / 0.7928 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2831, allocations: 4 kB / 0.7928 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.2833, allocations: 51.92 kB / 0.7928 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007931/0.2841, allocations: 0.4966 MB / 0.7933 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.2844, allocations: 106.6 kB / 0.7934 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.2845, allocations: 8 kB / 0.7934 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.2847, allocations: 83.38 kB / 0.7935 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.2847, allocations: 0 / 0.7935 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003751/0.285, allocations: 177 kB / 0.7937 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.2851, allocations: 55.41 kB / 0.7937 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.2856, allocations: 0.4911 MB / 0.7942 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.2857, allocations: 38.06 kB / 0.7942 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.2858, allocations: 220 kB / 0.7945 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.2859, allocations: 31.78 kB / 0.7945 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.2859, allocations: 4 kB / 0.7945 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000386/0.2863, allocations: 366.7 kB / 0.7948 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.2864, allocations: 44.36 kB / 0.7949 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.2865, allocations: 77.67 kB / 0.795 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.2867, allocations: 63.97 kB / 0.795 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2867, allocations: 0 / 0.795 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003158/0.287, allocations: 199.8 kB / 0.7952 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.287, allocations: 11.94 kB / 0.7952 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.287, allocations: 0 / 0.7952 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.287, allocations: 0 / 0.7952 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.2872, allocations: 35.98 kB / 0.7953 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2872, allocations: 4 kB / 0.7953 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.2874, allocations: 19.92 kB / 0.7953 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.2874, allocations: 12 kB / 0.7953 GB, free: 3.387 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001841/0.2876, allocations: 185.7 kB / 0.7955 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.2876, allocations: 51.39 kB / 0.7955 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.462e-05/0.2877, allocations: 39.92 kB / 0.7955 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.2877, allocations: 7.984 kB / 0.7956 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2878, allocations: 0 / 0.7956 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2878, allocations: 0 / 0.7956 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.2881, allocations: 325.4 kB / 0.7959 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2881, allocations: 0 / 0.7959 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.2881, allocations: 11.98 kB / 0.7959 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2881, allocations: 3.953 kB / 0.7959 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2882, allocations: 0 / 0.7959 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2882, allocations: 0 / 0.7959 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2882, allocations: 0 / 0.7959 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.2885, allocations: 212.5 kB / 0.7961 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.738e-05/0.2886, allocations: 120.6 kB / 0.7962 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.2887, allocations: 3.953 kB / 0.7962 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2888, allocations: 15.98 kB / 0.7962 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.2888, allocations: 11.92 kB / 0.7962 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.2889, allocations: 7.984 kB / 0.7962 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003538/0.2892, allocations: 350.9 kB / 0.7966 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2892, allocations: 3.938 kB / 0.7966 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002695/0.2895, allocations: 47.91 kB / 0.7966 GB, free: 1.922 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001553/0.2911, allocations: 1.068 MB / 0.7977 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.2914, allocations: 115.8 kB / 0.7978 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2914, allocations: 4 kB / 0.7978 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.2915, allocations: 35.98 kB / 0.7978 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.2919, allocations: 69.55 kB / 0.7979 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2933, allocations: 1.212 MB / 0.7991 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.2937, allocations: 0.8301 MB / 0.7999 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.2939, allocations: 41.92 kB / 0.7999 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.294, allocations: 127.4 kB / 0.8 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.2941, allocations: 0 / 0.8 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.3141, allocations: 7.295 MB / 0.8072 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.3143, allocations: 228.6 kB / 0.8074 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.403, allocations: 0 / 0.8074 GB, free: 7.133 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) Environment - environmentSimulation: