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.001183/0.001183, allocations: 101.4 kB / 15.7 MB, free: 28 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.001287/0.001287, allocations: 195.2 kB / 16.64 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.712/1.712, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001469/0.001469, allocations: 74.53 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2509, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00524/0.2562, allocations: 2.255 MB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002199/0.2585, allocations: 1.367 MB / 0.7872 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.2587, allocations: 4 kB / 0.7872 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.2593, allocations: 187.5 kB / 0.7874 GB, free: 9.402 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004067/0.2597, allocations: 139.3 kB / 0.7875 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.2601, allocations: 127.7 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.2604, allocations: 279 kB / 0.7879 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.2606, allocations: 44.72 kB / 0.7879 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.2607, allocations: 111.5 kB / 0.788 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.2609, allocations: 115.4 kB / 0.7881 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.261, allocations: 12 kB / 0.7882 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.2611, allocations: 55.97 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.2612, allocations: 95.66 kB / 0.7883 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.2614, allocations: 150.8 kB / 0.7884 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.2618, allocations: 398.5 kB / 0.7888 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2618, allocations: 0 / 0.7888 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2618, allocations: 0 / 0.7888 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2619, allocations: 0 / 0.7888 GB, free: 7.898 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.001101/0.263, allocations: 0.6996 MB / 0.7895 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.263, allocations: 15.97 kB / 0.7895 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.2631, allocations: 34.75 kB / 0.7896 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.2631, allocations: 56.28 kB / 0.7896 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.2637, allocations: 404.1 kB / 0.79 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2638, allocations: 12.12 kB / 0.79 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.2638, allocations: 4 kB / 0.79 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.2641, allocations: 105.5 kB / 0.7901 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2641, allocations: 3.938 kB / 0.7901 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2641, allocations: 4 kB / 0.7901 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.2641, allocations: 4 kB / 0.7901 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.2642, allocations: 51.97 kB / 0.7902 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007566/0.265, allocations: 492.4 kB / 0.7906 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.2654, allocations: 106.7 kB / 0.7907 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.2655, allocations: 36.84 kB / 0.7908 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.2655, allocations: 7.984 kB / 0.7908 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.2657, allocations: 87.31 kB / 0.7909 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.2657, allocations: 0 / 0.7909 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003953/0.2661, allocations: 181 kB / 0.791 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.2662, allocations: 55.41 kB / 0.7911 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005762/0.2668, allocations: 0.4988 MB / 0.7916 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.2668, allocations: 29.7 kB / 0.7916 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.267, allocations: 220 kB / 0.7918 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.267, allocations: 23.8 kB / 0.7918 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-05/0.2671, allocations: 61.59 kB / 0.7919 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.2673, allocations: 362.8 kB / 0.7922 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.2674, allocations: 43.98 kB / 0.7923 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.2676, allocations: 76.98 kB / 0.7924 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.2678, allocations: 104.2 kB / 0.7925 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2678, allocations: 4.312 kB / 0.7925 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003366/0.2681, allocations: 209.1 kB / 0.7927 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2681, allocations: 4 kB / 0.7927 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2682, allocations: 0 / 0.7927 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2682, allocations: 7.922 kB / 0.7927 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.2683, allocations: 35.98 kB / 0.7927 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2684, allocations: 0 / 0.7927 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.2685, allocations: 19.92 kB / 0.7927 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.2685, allocations: 7.984 kB / 0.7927 GB, free: 3.641 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 ($PRE.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.2687, allocations: 196.8 kB / 0.7929 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.2688, allocations: 43.44 kB / 0.793 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.991e-05/0.2689, allocations: 47.91 kB / 0.793 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2689, allocations: 0 / 0.793 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.2689, allocations: 4 kB / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2689, allocations: 0 / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.2692, allocations: 329.3 kB / 0.7933 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2692, allocations: 0 / 0.7933 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.2693, allocations: 8 kB / 0.7933 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2693, allocations: 4 kB / 0.7933 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2693, allocations: 4 kB / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2693, allocations: 3.984 kB / 0.7933 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2694, allocations: 4 kB / 0.7933 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.2697, allocations: 216.4 kB / 0.7936 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.2698, allocations: 116.6 kB / 0.7937 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.2699, allocations: 7.938 kB / 0.7937 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.27, allocations: 8.062 kB / 0.7937 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.27, allocations: 7.984 kB / 0.7937 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.2701, allocations: 11.98 kB / 0.7937 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003709/0.2704, allocations: 354.8 kB / 0.794 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2704, allocations: 0 / 0.794 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002808/0.2707, allocations: 47.94 kB / 0.7941 GB, free: 2.164 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 (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.001702/0.2724, allocations: 1.065 MB / 0.7951 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003288/0.2728, allocations: 119.7 kB / 0.7952 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.2728, allocations: 4 kB / 0.7952 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.2729, allocations: 39.92 kB / 0.7953 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.2734, allocations: 68.3 kB / 0.7953 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/0.2772, allocations: 3.129 MB / 0.7984 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.2777, allocations: 0.8182 MB / 0.7992 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.2778, allocations: 37.92 kB / 0.7992 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.278, allocations: 131.4 kB / 0.7994 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of SimCode: time 1.002e-06/0.278, allocations: 0 / 0.7994 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.3031, allocations: 7.597 MB / 0.8068 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/7.997, allocations: 6.766 kB / 0.8068 GB, free: 5.352 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/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)