Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.237/2.237, allocations: 251 MB / 265.9 MB, free: 11.69 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.001475/0.001475, allocations: 180.7 kB / 325.5 MB, free: 2.898 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.26/2.26, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.001179/0.001178, allocations: 109.9 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001469, allocations: 15.66 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2659, allocations: 106.3 MB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2409/0.5068, allocations: 134.8 MB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.5072, allocations: 91.94 kB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0234/0.5307, allocations: 5.447 MB / 1.036 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5307, allocations: 0 / 1.036 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.104e-05/0.5307, allocations: 4 kB / 1.036 GB, free: 5.332 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008782/0.5316, allocations: 467.3 kB / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.5317, allocations: 16.03 kB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.272e-05/0.5318, allocations: 38.56 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.5318, allocations: 19.77 kB / 1.036 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.5324, allocations: 250.7 kB / 1.037 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.5324, allocations: 4 kB / 1.037 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.5325, allocations: 4 kB / 1.037 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.5328, allocations: 127.3 kB / 1.037 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5329, allocations: 3.984 kB / 1.037 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.5329, allocations: 8 kB / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5329, allocations: 0 / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005692/0.5335, allocations: 195.7 kB / 1.037 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.5339, allocations: 253.4 kB / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00085/0.5348, allocations: 210.4 kB / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.5348, allocations: 15.97 kB / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003541/0.5352, allocations: 123.3 kB / 1.038 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.906e-06/0.5352, allocations: 0 / 1.038 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0008754/0.5361, allocations: 256.1 kB / 1.038 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.5362, allocations: 85.09 kB / 1.038 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.5366, allocations: 225.5 kB / 1.038 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.5367, allocations: 29.7 kB / 1.038 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.5368, allocations: 112.1 kB / 1.038 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.956e-05/0.5369, allocations: 47.44 kB / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.5369, allocations: 4 kB / 1.038 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5371, allocations: 330.8 kB / 1.039 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.5373, allocations: 55.97 kB / 1.039 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.5376, allocations: 83.8 kB / 1.039 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.5378, allocations: 63.97 kB / 1.039 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5378, allocations: 4.031 kB / 1.039 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006475/0.5385, allocations: 217.3 kB / 1.039 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.5385, allocations: 4 kB / 1.039 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.5385, allocations: 4 kB / 1.039 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5386, allocations: 0 / 1.039 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.5388, allocations: 23.98 kB / 1.039 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-05/0.5388, allocations: 12.25 kB / 1.039 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.539, allocations: 11.94 kB / 1.039 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.539, allocations: 4 kB / 1.039 GB, free: 1.848 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001994/0.5392, allocations: 144.5 kB / 1.039 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.5393, allocations: 15.81 kB / 1.039 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000832/0.5401, allocations: 278.5 kB / 1.039 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.5402, allocations: 7.938 kB / 1.04 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5402, allocations: 0 / 1.04 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.5402, allocations: 3.984 kB / 1.04 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.5406, allocations: 281.5 kB / 1.04 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5406, allocations: 4 kB / 1.04 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.5409, allocations: 27.98 kB / 1.04 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.5409, allocations: 4 kB / 1.04 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.5409, allocations: 7.984 kB / 1.04 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.5409, allocations: 4 kB / 1.04 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5409, allocations: 0 / 1.04 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007082/0.5417, allocations: 274.2 kB / 1.04 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.5418, allocations: 112.7 kB / 1.04 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.5419, allocations: 12 kB / 1.04 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.542, allocations: 8 kB / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.5421, allocations: 11.98 kB / 1.04 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.5421, allocations: 15.98 kB / 1.04 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003143/0.5424, allocations: 180.5 kB / 1.04 GB, free: 392 kB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5425, allocations: 0 / 1.04 GB, free: 392 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004106/0.5429, allocations: 48 kB / 1.04 GB, free: 344 kB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.002378/0.5453, allocations: 1.174 MB / 1.042 GB, free: 15.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000656/0.546, allocations: 163.8 kB / 1.042 GB, free: 15.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.546, allocations: 0 / 1.042 GB, free: 15.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.5463, allocations: 91.28 kB / 1.042 GB, free: 15.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.5467, allocations: 31.83 kB / 1.042 GB, free: 15.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.5496, allocations: 1.274 MB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.5501, allocations: 0.7328 MB / 1.044 GB, free: 12.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002664/0.5504, allocations: 53.5 kB / 1.044 GB, free: 12.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.5506, allocations: 63.41 kB / 1.044 GB, free: 12.82 MB / 0.698 GB Notification: Performance of SimCode: time 1.193e-06/0.5506, allocations: 7.938 kB / 1.044 GB, free: 12.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.5867, allocations: 4.978 MB / 1.049 GB, free: 8.027 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003277/0.5871, allocations: 248.9 kB / 1.049 GB, free: 7.746 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/3.052, allocations: 1.625 kB / 1.049 GB, free: 7.746 MB / 0.698 GB