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.832/1.832, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001331/0.001331, allocations: 174.5 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.0009418/0.0009417, allocations: 92.33 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 10.38 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2581, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00251/0.2607, allocations: 1.877 MB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.2623, allocations: 1.094 MB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.2625, allocations: 3.938 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004718/0.263, allocations: 167.3 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.2632, allocations: 123.6 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.2635, allocations: 90.69 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.2637, allocations: 159.7 kB / 0.9036 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.2639, allocations: 44.36 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.264, allocations: 103.5 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.2641, allocations: 91.55 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.2642, allocations: 4 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-05/0.2643, allocations: 19.98 kB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.2643, allocations: 91.66 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.2644, allocations: 77.52 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.2647, allocations: 279.6 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2647, allocations: 0 / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2647, allocations: 0 / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.2647, allocations: 3.938 kB / 0.9043 GB, free: 59.64 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.0008132/0.2655, allocations: 0.651 MB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2656, allocations: 8.031 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.2656, allocations: 38.56 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.2657, allocations: 47.39 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.2662, allocations: 375.1 kB / 0.9053 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.2662, allocations: 15.94 kB / 0.9053 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.2662, allocations: 8 kB / 0.9054 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.2664, allocations: 93.64 kB / 0.9054 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2664, allocations: 0 / 0.9054 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.2664, allocations: 0 / 0.9054 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.2665, allocations: 11.95 kB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.2666, allocations: 47.97 kB / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.2673, allocations: 0.4964 MB / 0.906 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.2676, allocations: 110.6 kB / 0.9061 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.2676, allocations: 4.156 kB / 0.9061 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.2679, allocations: 87.36 kB / 0.9062 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.2679, allocations: 0 / 0.9062 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003168/0.2682, allocations: 165 kB / 0.9063 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.2682, allocations: 55.41 kB / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.2687, allocations: 498.8 kB / 0.9069 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.2687, allocations: 33.7 kB / 0.9069 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.2688, allocations: 212 kB / 0.9071 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.2688, allocations: 35.69 kB / 0.9071 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.2689, allocations: 3.938 kB / 0.9071 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.2689, allocations: 362.8 kB / 0.9075 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.269, allocations: 52.3 kB / 0.9075 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.2692, allocations: 73.92 kB / 0.9076 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.2693, allocations: 64.34 kB / 0.9077 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2693, allocations: 0 / 0.9077 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002743/0.2696, allocations: 202.2 kB / 0.9079 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2696, allocations: 4 kB / 0.9079 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2696, allocations: 7.922 kB / 0.9079 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2696, allocations: 4 kB / 0.9079 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2697, allocations: 23.98 kB / 0.9079 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2698, allocations: 4 kB / 0.9079 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.2699, allocations: 19.97 kB / 0.9079 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.2699, allocations: 11.98 kB / 0.9079 GB, free: 55.64 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.0001553/0.2701, allocations: 188.6 kB / 0.9081 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.2701, allocations: 47.39 kB / 0.9082 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.357e-05/0.2702, allocations: 43.83 kB / 0.9082 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2702, allocations: 4 kB / 0.9082 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2702, allocations: 0 / 0.9082 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.2702, allocations: 4 kB / 0.9082 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.2705, allocations: 317.4 kB / 0.9085 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2705, allocations: 0 / 0.9085 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.2705, allocations: 15.94 kB / 0.9085 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2705, allocations: 0 / 0.9085 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2706, allocations: 4 kB / 0.9085 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2706, allocations: 0 / 0.9085 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2706, allocations: 0 / 0.9085 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.2709, allocations: 212.4 kB / 0.9087 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.2709, allocations: 120.6 kB / 0.9088 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.271, allocations: 3.953 kB / 0.9088 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.331e-05/0.2711, allocations: 8 kB / 0.9089 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.2711, allocations: 15.97 kB / 0.9089 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.2712, allocations: 8 kB / 0.9089 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002796/0.2714, allocations: 342.8 kB / 0.9092 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2714, allocations: 0 / 0.9092 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002456/0.2717, allocations: 48 kB / 0.9093 GB, free: 54.19 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.001235/0.2729, allocations: 1.051 MB / 0.9103 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.2732, allocations: 111.8 kB / 0.9104 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2732, allocations: 64 / 0.9104 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/0.2733, allocations: 47.92 kB / 0.9104 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.2736, allocations: 59.11 kB / 0.9105 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.2748, allocations: 1.196 MB / 0.9117 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.275, allocations: 0.8262 MB / 0.9125 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.2751, allocations: 33.95 kB / 0.9125 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.2753, allocations: 123.4 kB / 0.9126 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of SimCode: time 3.9e-07/0.2753, allocations: 0 / 0.9126 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.2933, allocations: 6.961 MB / 0.9194 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.2935, allocations: 240 kB / 0.9196 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.168/2.461, allocations: 0 / 0.9196 GB, free: 43.73 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)