Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.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.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",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 2.673/2.673, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.001413/0.001412, allocations: 187.1 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.158/2.158, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009399/0.0009398, allocations: 98.33 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004675, allocations: 12.77 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.03782/0.2518, allocations: 30.81 MB / 1.009 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01798/0.2699, allocations: 9.154 MB / 1.017 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.2712, allocations: 27.81 kB / 1.018 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.2727, allocations: 278.1 kB / 1.018 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.2775, allocations: 1.128 MB / 1.019 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.2811, allocations: 0.7133 MB / 1.02 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004617/0.2858, allocations: 2.287 MB / 1.022 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.2871, allocations: 490.5 kB / 1.022 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/0.2898, allocations: 0.7816 MB / 1.023 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.2914, allocations: 0.5757 MB / 1.024 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.2916, allocations: 32 kB / 1.024 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003841/0.2955, allocations: 1.013 MB / 1.025 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.2959, allocations: 131.4 kB / 1.025 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004753/0.2964, allocations: 177.3 kB / 1.025 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.2991, allocations: 1.099 MB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2992, allocations: 7.984 kB / 1.026 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.328e-06/0.2992, allocations: 0 / 1.026 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.2992, allocations: 3.938 kB / 1.026 GB, free: 11.4 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.003165/0.3024, allocations: 1.094 MB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.3025, allocations: 12.03 kB / 1.027 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/0.3027, allocations: 78.53 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.3029, allocations: 90.97 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.3048, allocations: 0.6289 MB / 1.028 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-05/0.3049, allocations: 33 kB / 1.028 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.3051, allocations: 47.91 kB / 1.028 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.3064, allocations: 434.4 kB / 1.028 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.3065, allocations: 0 / 1.028 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.34e-05/0.3066, allocations: 27.92 kB / 1.028 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.3066, allocations: 19.94 kB / 1.028 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.3078, allocations: 371.8 kB / 1.029 GB, free: 8.477 MB / 0.6511 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.00697/0.3149, allocations: 2.783 MB / 1.031 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.3172, allocations: 385.8 kB / 1.032 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007811/0.318, allocations: 156.9 kB / 1.032 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003114/0.3212, allocations: 1.436 MB / 1.033 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.386e-05/0.3213, allocations: 38.84 kB / 1.033 GB, free: 3.062 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 6.673e-06/0.3213, allocations: 0 / 1.033 GB, free: 3.062 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.003148/0.3245, allocations: 0.5006 MB / 1.034 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.3246, allocations: 55.41 kB / 1.034 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.3273, allocations: 0.7234 MB / 1.035 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.3275, allocations: 41.7 kB / 1.035 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005786/0.3281, allocations: 332.2 kB / 1.035 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/0.3284, allocations: 130.1 kB / 1.035 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.3285, allocations: 4 kB / 1.035 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.3287, allocations: 325.9 kB / 1.035 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007973/0.3295, allocations: 132.7 kB / 1.036 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009287/0.3305, allocations: 201.6 kB / 1.036 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008924/0.3314, allocations: 168.7 kB / 1.036 GB, free: 420 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.3315, allocations: 0 / 1.036 GB, free: 420 kB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002539/0.334, allocations: 469.9 kB / 1.036 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.3342, allocations: 129.9 kB / 1.037 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-05/0.3343, allocations: 11.98 kB / 1.037 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.3343, allocations: 4 kB / 1.037 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.3359, allocations: 107.9 kB / 1.037 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007419/0.3366, allocations: 0.5938 MB / 1.037 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.3382, allocations: 67.5 kB / 1.037 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.3384, allocations: 23.98 kB / 1.037 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3385, allocations: 4 kB / 1.037 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002181/0.3406, allocations: 379.7 kB / 1.038 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-05/0.3407, allocations: 4 kB / 1.038 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3408, allocations: 4 kB / 1.038 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.342, allocations: 95.88 kB / 1.038 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.342, allocations: 4.156 kB / 1.038 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.3433, allocations: 67.5 kB / 1.038 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.3434, allocations: 19.98 kB / 1.038 GB, free: 14.4 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006312/0.3441, allocations: 272.8 kB / 1.038 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.3444, allocations: 75.06 kB / 1.038 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003664/0.3481, allocations: 0.8169 MB / 1.039 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.862e-05/0.3482, allocations: 15.92 kB / 1.039 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.3482, allocations: 0 / 1.039 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.3482, allocations: 3.984 kB / 1.039 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005287/0.3535, allocations: 1.462 MB / 1.04 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.623e-05/0.3536, allocations: 4 kB / 1.04 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008984/0.3545, allocations: 83.98 kB / 1.041 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/0.3545, allocations: 8 kB / 1.041 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/0.3546, allocations: 15.98 kB / 1.041 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004695/0.3551, allocations: 0.5938 MB / 1.041 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3551, allocations: 0 / 1.041 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.3578, allocations: 1 MB / 1.042 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000581/0.3584, allocations: 247.8 kB / 1.042 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.3586, allocations: 11.95 kB / 1.042 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007327/0.3593, allocations: 39.91 kB / 1.042 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.3595, allocations: 48.31 kB / 1.042 GB, free: 9.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-05/0.3596, allocations: 20 kB / 1.042 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001261/0.3609, allocations: 0.5146 MB / 1.043 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.3e-07/0.3609, allocations: 0 / 1.043 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001893/0.3628, allocations: 447.4 kB / 1.043 GB, free: 8.621 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004278/0.3671, allocations: 1.898 MB / 1.045 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002508/0.3696, allocations: 0.7379 MB / 1.046 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3697, allocations: 0 / 1.046 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000986/0.3707, allocations: 358.6 kB / 1.046 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/0.3741, allocations: 382 kB / 1.047 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.3864, allocations: 4.511 MB / 1.051 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007291/0.3872, allocations: 0.9392 MB / 1.052 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001234/0.3885, allocations: 219 kB / 1.052 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007048/0.3892, allocations: 307.3 kB / 1.052 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of SimCode: time 1.242e-06/0.3892, allocations: 0 / 1.052 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.681/1.07, allocations: 26.2 MB / 1.078 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003058/1.071, allocations: 275.3 kB / 1.078 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.736/4.807, allocations: 4 kB / 1.078 GB, free: 83.32 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe 2>&1)