Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.613/1.613, allocations: 252 MB / 267 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 176 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.4 MB / 0.5777 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009416/0.0009414, allocations: 88.09 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003487, allocations: 10.69 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.251, allocations: 106.3 MB / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002485/0.2535, allocations: 1.892 MB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.255, allocations: 1.121 MB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.2551, allocations: 0 / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.2556, allocations: 163.3 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.2559, allocations: 115.5 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.2562, allocations: 95.81 kB / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.2564, allocations: 215.2 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.2565, allocations: 44.34 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.2567, allocations: 95.52 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.2568, allocations: 95.55 kB / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.2568, allocations: 4 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.437e-05/0.2569, allocations: 35.92 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.257, allocations: 87.66 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.2571, allocations: 73.52 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.2573, allocations: 279.6 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2573, allocations: 0 / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2573, allocations: 0 / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2573, allocations: 0 / 0.9045 GB, free: 59.42 MB / 0.6042 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.000781/0.2581, allocations: 0.6531 MB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2582, allocations: 8.031 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.2582, allocations: 38.56 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.2583, allocations: 47.39 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.2587, allocations: 371.2 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.2587, allocations: 7.938 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.2587, allocations: 15.94 kB / 0.9056 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.2589, allocations: 95.12 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.259, allocations: 4 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.259, allocations: 4 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.259, allocations: 3.953 kB / 0.9057 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.2591, allocations: 51.97 kB / 0.9058 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.2598, allocations: 0.4964 MB / 0.9062 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.2601, allocations: 106.7 kB / 0.9063 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.2602, allocations: 28.84 kB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.2602, allocations: 7.938 kB / 0.9064 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.2604, allocations: 83.38 kB / 0.9065 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.2604, allocations: 0 / 0.9065 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003355/0.2608, allocations: 169 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.2608, allocations: 59.34 kB / 0.9067 GB, free: 57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.2612, allocations: 498.8 kB / 0.9071 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2612, allocations: 29.7 kB / 0.9072 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.2614, allocations: 220 kB / 0.9074 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.2614, allocations: 31.69 kB / 0.9074 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.2615, allocations: 4 kB / 0.9074 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.2615, allocations: 358.8 kB / 0.9078 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.2616, allocations: 48.36 kB / 0.9078 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2618, allocations: 86.61 kB / 0.9079 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.2619, allocations: 53.33 kB / 0.9079 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2619, allocations: 0 / 0.9079 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002849/0.2622, allocations: 201 kB / 0.9081 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2622, allocations: 8 kB / 0.9081 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2622, allocations: 0 / 0.9081 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.2622, allocations: 3.938 kB / 0.9081 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2624, allocations: 32.05 kB / 0.9082 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2624, allocations: 384 / 0.9082 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.2625, allocations: 27.92 kB / 0.9082 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.2626, allocations: 4 kB / 0.9082 GB, free: 55.39 MB / 0.6042 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.0001555/0.2627, allocations: 195.3 kB / 0.9084 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.2628, allocations: 47.38 kB / 0.9084 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.2628, allocations: 51.83 kB / 0.9085 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2629, allocations: 7.984 kB / 0.9085 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2629, allocations: 0 / 0.9085 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2629, allocations: 0 / 0.9085 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.2631, allocations: 317.4 kB / 0.9088 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2631, allocations: 3.953 kB / 0.9088 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.2632, allocations: 8 kB / 0.9088 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2632, allocations: 0 / 0.9088 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.2632, allocations: 3.984 kB / 0.9088 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2632, allocations: 0 / 0.9088 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2632, allocations: 0 / 0.9088 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.2635, allocations: 208.5 kB / 0.909 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.2636, allocations: 124.5 kB / 0.9091 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.2637, allocations: 0 / 0.9091 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/0.2638, allocations: 12 kB / 0.9091 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.2638, allocations: 19.84 kB / 0.9092 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.2638, allocations: 4 kB / 0.9092 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002878/0.2641, allocations: 346.8 kB / 0.9095 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2641, allocations: 4.062 kB / 0.9095 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002307/0.2644, allocations: 47.94 kB / 0.9095 GB, free: 53.92 MB / 0.6042 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.001331/0.2657, allocations: 1.054 MB / 0.9106 GB, free: 53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.266, allocations: 110.1 kB / 0.9107 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.266, allocations: 0 / 0.9107 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.2661, allocations: 43.86 kB / 0.9107 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.2664, allocations: 54.27 kB / 0.9108 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.269, allocations: 2.228 MB / 0.9129 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.2692, allocations: 0.8223 MB / 0.9138 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.2694, allocations: 25.95 kB / 0.9138 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.2695, allocations: 127.4 kB / 0.9139 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/0.2695, allocations: 0 / 0.9139 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.2882, allocations: 7.105 MB / 0.9208 GB, free: 42.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.2884, allocations: 245.6 kB / 0.9211 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.579, allocations: 4.062 kB / 0.9211 GB, free: 42.27 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)