Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.476/1.476, allocations: 287.4 MB / 302.6 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009324/0.0009325, allocations: 191 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006723/0.0006724, allocations: 108.5 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.000401, allocations: 12.42 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.04675/0.2576, allocations: 56.09 MB / 1.034 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02201/0.2797, allocations: 17.1 MB / 1.05 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/0.2821, allocations: 55.69 kB / 1.05 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.2844, allocations: 0.6055 MB / 1.051 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006227/0.2907, allocations: 2.026 MB / 1.053 GB, free: 4 kB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003908/0.2946, allocations: 1.277 MB / 1.054 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006125/0.3007, allocations: 4.904 MB / 1.059 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/0.3029, allocations: 1.148 MB / 1.06 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.3067, allocations: 1.493 MB / 1.061 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.3087, allocations: 1.169 MB / 1.063 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.3089, allocations: 64 kB / 1.063 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004342/0.3132, allocations: 1.286 MB / 1.064 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003969/0.3137, allocations: 294.6 kB / 1.064 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007302/0.3144, allocations: 376.8 kB / 1.065 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.3177, allocations: 2.241 MB / 1.067 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3177, allocations: 4 kB / 1.067 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3177, allocations: 0 / 1.067 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.179e-05/0.3177, allocations: 0 / 1.067 GB, free: 1.707 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.4363/0.7541, allocations: 1.919 MB / 1.069 GB, free: 90.58 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.7541, allocations: 9.594 kB / 1.069 GB, free: 90.58 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005002/0.7546, allocations: 159.2 kB / 1.069 GB, free: 90.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.7567, allocations: 406 kB / 1.069 GB, free: 90.44 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/0.7606, allocations: 1.548 MB / 1.071 GB, free: 89.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.243e-05/0.7607, allocations: 78.14 kB / 1.071 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.7609, allocations: 110.9 kB / 1.071 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.7634, allocations: 1.232 MB / 1.072 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.7635, allocations: 9 kB / 1.072 GB, free: 89.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/0.7636, allocations: 43.39 kB / 1.072 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/0.7637, allocations: 32.19 kB / 1.072 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.7658, allocations: 0.9503 MB / 1.073 GB, free: 88.76 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008245/0.7741, allocations: 7 MB / 1.08 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.7761, allocations: 0.825 MB / 1.081 GB, free: 82.99 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008964/0.777, allocations: 398.2 kB / 1.081 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/0.7784, allocations: 1.786 MB / 1.083 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.7795, allocations: 473.4 kB / 1.083 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.336e-06/0.7795, allocations: 3.609 kB / 1.083 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.003111/0.7827, allocations: 1.193 MB / 1.084 GB, free: 80.26 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.7827, allocations: 89.77 kB / 1.085 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/0.7849, allocations: 1.286 MB / 1.086 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/0.785, allocations: 42.64 kB / 1.086 GB, free: 79.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006017/0.7857, allocations: 0.7184 MB / 1.087 GB, free: 79.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.7859, allocations: 258.2 kB / 1.087 GB, free: 78.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.786, allocations: 18.84 kB / 1.087 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.63e-05/0.786, allocations: 341.9 kB / 1.087 GB, free: 78.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008227/0.7869, allocations: 336.2 kB / 1.087 GB, free: 78.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009554/0.7878, allocations: 0.5928 MB / 1.088 GB, free: 77.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.7896, allocations: 0.9389 MB / 1.089 GB, free: 77.42 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.7896, allocations: 4 kB / 1.089 GB, free: 77.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002543/0.7921, allocations: 1.107 MB / 1.09 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.7923, allocations: 313.1 kB / 1.09 GB, free: 76.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.7923, allocations: 10.38 kB / 1.09 GB, free: 76.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/0.7923, allocations: 11.66 kB / 1.09 GB, free: 76.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000871/0.7932, allocations: 217.3 kB / 1.091 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.7933, allocations: 18.42 kB / 1.091 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.7946, allocations: 167.4 kB / 1.091 GB, free: 76.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.7947, allocations: 48.81 kB / 1.091 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.7947, allocations: 4.125 kB / 1.091 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001998/0.7968, allocations: 0.948 MB / 1.092 GB, free: 76.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.7968, allocations: 9.594 kB / 1.092 GB, free: 76.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.7968, allocations: 17.28 kB / 1.092 GB, free: 76.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008415/0.7977, allocations: 221.8 kB / 1.092 GB, free: 76.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/0.7977, allocations: 12.78 kB / 1.092 GB, free: 76.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.799, allocations: 170.6 kB / 1.092 GB, free: 76.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/0.7991, allocations: 51.48 kB / 1.092 GB, free: 76.05 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000721/0.7998, allocations: 412.6 kB / 1.093 GB, free: 75.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.8, allocations: 151 kB / 1.093 GB, free: 75.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/0.803, allocations: 1.393 MB / 1.094 GB, free: 75.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/0.803, allocations: 17.75 kB / 1.094 GB, free: 75.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.803, allocations: 5.797 kB / 1.094 GB, free: 75.15 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001961/0.805, allocations: 1.21 MB / 1.095 GB, free: 74.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005094/0.8101, allocations: 2.67 MB / 1.098 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/0.8102, allocations: 8.547 kB / 1.098 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/0.8109, allocations: 164.6 kB / 1.098 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.8109, allocations: 4.406 kB / 1.098 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.634e-05/0.811, allocations: 27.31 kB / 1.098 GB, free: 73.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.811, allocations: 9.344 kB / 1.098 GB, free: 73.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.811, allocations: 1 kB / 1.098 GB, free: 73.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003428/0.8145, allocations: 1.814 MB / 1.1 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007669/0.8153, allocations: 391.4 kB / 1.1 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.8155, allocations: 20.55 kB / 1.1 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008948/0.8164, allocations: 114.8 kB / 1.1 GB, free: 72.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.8165, allocations: 72.27 kB / 1.1 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.711e-05/0.8166, allocations: 37.81 kB / 1.1 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001328/0.8179, allocations: 0.8711 MB / 1.101 GB, free: 71.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8179, allocations: 0 / 1.101 GB, free: 71.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002175/0.8201, allocations: 0.8476 MB / 1.102 GB, free: 71.58 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.005041/0.8252, allocations: 3.171 MB / 1.105 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003289/0.8285, allocations: 1.545 MB / 1.107 GB, free: 69.47 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.8285, allocations: 5.469 kB / 1.107 GB, free: 69.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.8295, allocations: 0.5829 MB / 1.107 GB, free: 69.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/0.8329, allocations: 0.6272 MB / 1.108 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/0.8512, allocations: 9.283 MB / 1.117 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007273/0.8519, allocations: 1.252 MB / 1.118 GB, free: 62.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001795/0.8537, allocations: 405.6 kB / 1.119 GB, free: 62.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007375/0.8545, allocations: 0.6503 MB / 1.119 GB, free: 61.92 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/0.8545, allocations: 0 / 1.119 GB, free: 61.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4696/1.324, allocations: 44.33 MB / 1.163 GB, free: 21.58 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/1.324, allocations: 260.7 kB / 1.163 GB, free: 21.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.323/4.647, allocations: 0 / 1.163 GB, free: 21.24 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)