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.44/1.44, allocations: 252 MB / 267.3 MB, free: 10.85 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.001152/0.001152, allocations: 170.9 kB / 327 MB, free: 2.105 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.797/1.797, allocations: 205.4 MB / 0.578 GB, free: 20.46 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.0008367/0.0008366, allocations: 81.91 kB / 0.6826 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004637, allocations: 9.438 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2322, allocations: 106.3 MB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002801/0.235, allocations: 1.945 MB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.2371, allocations: 1.176 MB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.2374, allocations: 4 kB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007232/0.2382, allocations: 167.3 kB / 0.9041 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004815/0.2387, allocations: 123.5 kB / 0.9042 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.2391, allocations: 103.8 kB / 0.9043 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00046/0.2396, allocations: 239.1 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.2398, allocations: 44.39 kB / 0.9046 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.24, allocations: 87.5 kB / 0.9047 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.2402, allocations: 107.4 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.2402, allocations: 4 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.2404, allocations: 28 kB / 0.9048 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.2405, allocations: 91.59 kB / 0.9049 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.2407, allocations: 164.5 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.2411, allocations: 354.8 kB / 0.9054 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2411, allocations: 0 / 0.9054 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2411, allocations: 0 / 0.9054 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.2411, allocations: 0 / 0.9054 GB, free: 59.11 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.000957/0.2421, allocations: 0.6417 MB / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.2421, allocations: 8.031 kB / 0.906 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.953e-05/0.2422, allocations: 42.75 kB / 0.9061 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.2423, allocations: 44.38 kB / 0.9061 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.2428, allocations: 407.8 kB / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2429, allocations: 12.31 kB / 0.9065 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.2429, allocations: 11.94 kB / 0.9065 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.2431, allocations: 94.62 kB / 0.9066 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2431, allocations: 0 / 0.9066 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.2432, allocations: 4 kB / 0.9066 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2432, allocations: 4 kB / 0.9066 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.2433, allocations: 47.97 kB / 0.9067 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007944/0.2441, allocations: 0.4965 MB / 0.9072 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.2445, allocations: 106.7 kB / 0.9073 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.021e-05/0.2446, allocations: 36.84 kB / 0.9073 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.2446, allocations: 4 kB / 0.9073 GB, free: 57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.2448, allocations: 79.38 kB / 0.9074 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.354e-06/0.2448, allocations: 0 / 0.9074 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003714/0.2452, allocations: 177 kB / 0.9076 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.2453, allocations: 51.41 kB / 0.9076 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.2457, allocations: 0.4987 MB / 0.9081 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2458, allocations: 25.7 kB / 0.9081 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.2459, allocations: 224.1 kB / 0.9083 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.2459, allocations: 27.7 kB / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.2459, allocations: 4 kB / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.246, allocations: 354.8 kB / 0.9087 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2461, allocations: 47.97 kB / 0.9087 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.2463, allocations: 82.55 kB / 0.9088 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.2464, allocations: 99.7 kB / 0.9089 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2465, allocations: 0 / 0.9089 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000311/0.2468, allocations: 212.9 kB / 0.9091 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2468, allocations: 4 kB / 0.9091 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2468, allocations: 7.969 kB / 0.9091 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2468, allocations: 4.375 kB / 0.9091 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.247, allocations: 27.92 kB / 0.9092 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.247, allocations: 8.062 kB / 0.9092 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.2471, allocations: 19.84 kB / 0.9092 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.2472, allocations: 15.92 kB / 0.9092 GB, free: 54.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.2474, allocations: 180.6 kB / 0.9094 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.2474, allocations: 47.38 kB / 0.9094 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.63e-05/0.2475, allocations: 47.83 kB / 0.9095 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2475, allocations: 4 kB / 0.9095 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2475, allocations: 4 kB / 0.9095 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2475, allocations: 0 / 0.9095 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.2478, allocations: 313.4 kB / 0.9098 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2478, allocations: 0 / 0.9098 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.636e-05/0.2479, allocations: 15.98 kB / 0.9098 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2479, allocations: 0 / 0.9098 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.2479, allocations: 4 kB / 0.9098 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2479, allocations: 4 kB / 0.9098 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2479, allocations: 0 / 0.9098 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.2483, allocations: 212.4 kB / 0.91 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-05/0.2484, allocations: 116.6 kB / 0.9101 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.2484, allocations: 4 kB / 0.9101 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.946e-05/0.2485, allocations: 4 kB / 0.9101 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.2486, allocations: 23.95 kB / 0.9101 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.2486, allocations: 4 kB / 0.9101 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002973/0.2489, allocations: 350.8 kB / 0.9105 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2489, allocations: 4.062 kB / 0.9105 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002467/0.2492, allocations: 39.94 kB / 0.9105 GB, free: 53.54 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 (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.001359/0.2506, allocations: 1.062 MB / 0.9116 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002569/0.2508, allocations: 113.6 kB / 0.9117 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2508, allocations: 0 / 0.9117 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.2509, allocations: 39.92 kB / 0.9117 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.2513, allocations: 62.92 kB / 0.9118 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.2546, allocations: 3.24 MB / 0.9149 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.2549, allocations: 0.8223 MB / 0.9157 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.255, allocations: 25.95 kB / 0.9158 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.2552, allocations: 127.4 kB / 0.9159 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of SimCode: time 1.413e-06/0.2552, allocations: 0 / 0.9159 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.2774, allocations: 6.844 MB / 0.9226 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.2776, allocations: 259.8 kB / 0.9228 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/2.617, allocations: 2.812 kB / 0.9228 GB, free: 41.02 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)