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.001181/0.001181, allocations: 91.06 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.001833/0.001834, 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.696/1.696, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.78/1.78, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005675/0.0005676, allocations: 16.06 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3029, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002956/0.3059, allocations: 1.914 MB / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3081, allocations: 1.262 MB / 0.7905 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.3083, allocations: 3.938 kB / 0.7905 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005373/0.3088, allocations: 167.3 kB / 0.7907 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.3092, allocations: 107.5 kB / 0.7908 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.3095, allocations: 111.8 kB / 0.7909 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.3098, allocations: 235.1 kB / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.3101, allocations: 44.66 kB / 0.7911 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3102, allocations: 95.52 kB / 0.7912 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.3104, allocations: 99.47 kB / 0.7913 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.3104, allocations: 4 kB / 0.7913 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.3106, allocations: 43.97 kB / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.435e-05/0.3107, allocations: 87.67 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.444e-05/0.3108, allocations: 81.45 kB / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.3111, allocations: 287.3 kB / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3111, allocations: 0 / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3111, allocations: 0 / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.3111, allocations: 0 / 0.7918 GB, free: 7.273 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.0009557/0.3121, allocations: 0.6648 MB / 0.7925 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3121, allocations: 8.031 kB / 0.7925 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.3122, allocations: 42.55 kB / 0.7925 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.73e-05/0.3123, allocations: 47.39 kB / 0.7926 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.3128, allocations: 379.1 kB / 0.7929 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3128, allocations: 8 kB / 0.7929 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.3128, allocations: 11.98 kB / 0.7929 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3131, allocations: 104.2 kB / 0.793 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3131, allocations: 4 kB / 0.793 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3131, allocations: 0 / 0.793 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3131, allocations: 4 kB / 0.793 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.3133, allocations: 51.92 kB / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.3141, allocations: 0.4888 MB / 0.7936 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.3144, allocations: 106.7 kB / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.3145, allocations: 36.84 kB / 0.7937 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.3146, allocations: 4 kB / 0.7937 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.3148, allocations: 91.25 kB / 0.7938 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.3148, allocations: 0 / 0.7938 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003784/0.3152, allocations: 177 kB / 0.794 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.3152, allocations: 55.34 kB / 0.794 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005365/0.3157, allocations: 0.5028 MB / 0.7945 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.3158, allocations: 25.7 kB / 0.7945 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.316, allocations: 224 kB / 0.7947 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.316, allocations: 35.62 kB / 0.7948 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.3161, allocations: 0 / 0.7948 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3162, allocations: 358.8 kB / 0.7951 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.3163, allocations: 48.36 kB / 0.7952 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.3165, allocations: 77.73 kB / 0.7952 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.3167, allocations: 63.91 kB / 0.7953 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3167, allocations: 4 kB / 0.7953 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000399/0.3171, allocations: 204 kB / 0.7955 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3171, allocations: 4 kB / 0.7955 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3171, allocations: 0 / 0.7955 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3171, allocations: 4 kB / 0.7955 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.3173, allocations: 35.92 kB / 0.7955 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3173, allocations: 3.984 kB / 0.7956 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3174, allocations: 23.94 kB / 0.7956 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.3175, allocations: 4 kB / 0.7956 GB, free: 3.18 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.0002751/0.3178, allocations: 189.7 kB / 0.7958 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.3178, allocations: 47.39 kB / 0.7958 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.851e-05/0.3179, allocations: 51.91 kB / 0.7959 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3179, allocations: 0 / 0.7959 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3179, allocations: 4 kB / 0.7959 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3179, allocations: 0 / 0.7959 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.3182, allocations: 317.5 kB / 0.7962 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3182, allocations: 0 / 0.7962 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.3183, allocations: 15.94 kB / 0.7962 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3183, allocations: 0 / 0.7962 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3183, allocations: 8.375 kB / 0.7962 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3183, allocations: 0 / 0.7962 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3183, allocations: 0 / 0.7962 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.3187, allocations: 216.4 kB / 0.7964 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.3188, allocations: 116.6 kB / 0.7965 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.3189, allocations: 7.953 kB / 0.7965 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.319, allocations: 7.984 kB / 0.7965 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.319, allocations: 19.92 kB / 0.7965 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.319, allocations: 7.984 kB / 0.7965 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004264/0.3195, allocations: 346.8 kB / 0.7969 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3195, allocations: 0 / 0.7969 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002736/0.3198, allocations: 43.91 kB / 0.7969 GB, free: 1.715 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.001542/0.3213, allocations: 1.077 MB / 0.798 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.3216, allocations: 107.8 kB / 0.7981 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3216, allocations: 0 / 0.7981 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.039e-05/0.3217, allocations: 43.98 kB / 0.7981 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.3221, allocations: 69.09 kB / 0.7982 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.3252, allocations: 2.272 MB / 0.8004 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.3256, allocations: 0.8259 MB / 0.8012 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001278/0.3257, allocations: 33.94 kB / 0.8012 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.3259, allocations: 119.4 kB / 0.8013 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of SimCode: time 7.72e-07/0.3259, allocations: 192 / 0.8013 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.3463, allocations: 7.455 MB / 0.8086 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.3465, allocations: 225.9 kB / 0.8088 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.293, allocations: 3.938 kB / 0.8088 GB, free: 5.723 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: