Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008537/0.0008538, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008837/0.0008837, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.836/1.836, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000627/0.000627, allocations: 16.56 kB / 0.6738 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2755, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.0309/0.3065, allocations: 30.83 MB / 0.8175 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01193/0.3185, allocations: 9.117 MB / 0.8264 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.3196, allocations: 23.81 kB / 0.8264 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.3207, allocations: 278.2 kB / 0.8267 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003133/0.3238, allocations: 1.131 MB / 0.8278 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.3261, allocations: 0.711 MB / 0.8285 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002847/0.3289, allocations: 2.286 MB / 0.8307 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007347/0.3297, allocations: 498.4 kB / 0.8312 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.3311, allocations: 0.7816 MB / 0.832 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007283/0.3319, allocations: 0.5757 MB / 0.8325 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/0.3319, allocations: 32 kB / 0.8326 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.334, allocations: 1.017 MB / 0.8336 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.3342, allocations: 135.4 kB / 0.8337 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.3344, allocations: 177.3 kB / 0.8339 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.3356, allocations: 1.099 MB / 0.8349 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3356, allocations: 0 / 0.8349 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3357, allocations: 0 / 0.8349 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.3357, allocations: 4 kB / 0.8349 GB, free: 11.03 MB / 0.6544 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.001826/0.3375, allocations: 1.098 MB / 0.836 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.3376, allocations: 8.031 kB / 0.836 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.3377, allocations: 86.52 kB / 0.8361 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.3378, allocations: 90.92 kB / 0.8362 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/0.3388, allocations: 0.625 MB / 0.8368 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.3388, allocations: 37 kB / 0.8368 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.3389, allocations: 44 kB / 0.8369 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007929/0.3397, allocations: 438.4 kB / 0.8373 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3397, allocations: 0 / 0.8373 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.3398, allocations: 16 kB / 0.8373 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.3398, allocations: 15.89 kB / 0.8373 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006791/0.3405, allocations: 379.7 kB / 0.8377 GB, free: 8.105 MB / 0.6544 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.003684/0.3442, allocations: 2.795 MB / 0.8404 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007788/0.345, allocations: 383.7 kB / 0.8408 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.3452, allocations: 153.1 kB / 0.8409 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.3465, allocations: 1.44 MB / 0.8423 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3465, allocations: 34.84 kB / 0.8424 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.3465, allocations: 0 / 0.8424 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.001049/0.3476, allocations: 0.5023 MB / 0.8428 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.3476, allocations: 55.41 kB / 0.8429 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009373/0.3485, allocations: 0.7274 MB / 0.8436 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/0.3486, allocations: 33.7 kB / 0.8436 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.3489, allocations: 332.2 kB / 0.844 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.349, allocations: 130.1 kB / 0.8441 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.349, allocations: 8 kB / 0.8441 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3492, allocations: 325.9 kB / 0.8444 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.3494, allocations: 132.7 kB / 0.8445 GB, free: 436 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.3498, allocations: 209.4 kB / 0.8447 GB, free: 204 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.3501, allocations: 160.8 kB / 0.8449 GB, free: 44 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3501, allocations: 0 / 0.8449 GB, free: 44 kB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008262/0.3509, allocations: 470.1 kB / 0.8453 GB, free: 15.57 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.709e-05/0.351, allocations: 126 kB / 0.8455 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.3511, allocations: 4 kB / 0.8455 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3511, allocations: 4 kB / 0.8455 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.3516, allocations: 111.8 kB / 0.8456 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003662/0.3519, allocations: 0.5899 MB / 0.8461 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.3524, allocations: 71.53 kB / 0.8462 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.3525, allocations: 23.98 kB / 0.8462 GB, free: 14.61 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-06/0.3525, allocations: 4 kB / 0.8462 GB, free: 14.6 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006895/0.3532, allocations: 383.3 kB / 0.8466 GB, free: 14.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.3532, allocations: 7.984 kB / 0.8466 GB, free: 14.22 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.3532, allocations: 0 / 0.8466 GB, free: 14.22 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.3535, allocations: 99.81 kB / 0.8467 GB, free: 14.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3535, allocations: 4 kB / 0.8467 GB, free: 14.12 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.3539, allocations: 67.66 kB / 0.8468 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.354, allocations: 23.92 kB / 0.8468 GB, free: 14.03 MB / 0.67 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.0003018/0.3543, allocations: 269 kB / 0.8471 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.3544, allocations: 75.06 kB / 0.8471 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.3559, allocations: 0.8192 MB / 0.8479 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/0.3559, allocations: 15.94 kB / 0.8479 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3559, allocations: 0 / 0.8479 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3559, allocations: 3.984 kB / 0.8479 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.3581, allocations: 1.462 MB / 0.8494 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.3581, allocations: 4 kB / 0.8494 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.3585, allocations: 83.89 kB / 0.8495 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.3585, allocations: 4 kB / 0.8495 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.3585, allocations: 20.08 kB / 0.8495 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000374/0.3589, allocations: 0.5936 MB / 0.8501 GB, free: 10.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3589, allocations: 4.031 kB / 0.8501 GB, free: 10.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.3604, allocations: 0.9926 MB / 0.851 GB, free: 9.582 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.3607, allocations: 243.9 kB / 0.8513 GB, free: 9.324 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3609, allocations: 15.95 kB / 0.8513 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.3612, allocations: 43.75 kB / 0.8513 GB, free: 9.266 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3614, allocations: 40.38 kB / 0.8514 GB, free: 9.227 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.3614, allocations: 23.98 kB / 0.8514 GB, free: 9.203 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007475/0.3622, allocations: 0.5146 MB / 0.8519 GB, free: 8.691 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3622, allocations: 0 / 0.8519 GB, free: 8.691 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001189/0.3634, allocations: 451.5 kB / 0.8523 GB, free: 8.25 MB / 0.67 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.002618/0.366, allocations: 1.891 MB / 0.8542 GB, free: 6.324 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.3675, allocations: 0.7373 MB / 0.8549 GB, free: 5.566 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3676, allocations: 0 / 0.8549 GB, free: 5.566 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005326/0.3681, allocations: 354.6 kB / 0.8552 GB, free: 5.203 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.3698, allocations: 384.9 kB / 0.8556 GB, free: 4.836 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007398/0.3772, allocations: 4.515 MB / 0.86 GB, free: 244 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.3778, allocations: 0.9353 MB / 0.8609 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000812/0.3787, allocations: 212.8 kB / 0.8611 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.3791, allocations: 309.6 kB / 0.8614 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of SimCode: time 1.102e-06/0.3791, allocations: 0 / 0.8614 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04901/0.4281, allocations: 26.2 MB / 0.887 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/0.4284, allocations: 280.9 kB / 0.8873 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.001, allocations: 2.5 kB / 0.8873 GB, free: 4.719 MB / 0.7012 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore.fmu > Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe 2>&1) Environment - environmentSimulation: