Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") translateModel(BuildingSystems.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7441/0.7441, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 171.1 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007771/0.0007771, allocations: 94.34 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001607/0.001606, allocations: 269.4 kB / 0.5729 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005289/0.0005292, allocations: 16 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.398, allocations: 79.31 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7299/1.128, allocations: 392.1 MB / 1.122 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/1.128, allocations: 105.5 kB / 1.122 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.288/2.416, allocations: 354.6 MB / 1.469 GB, free: 144.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.074e-06/2.416, allocations: 0 / 1.469 GB, free: 144.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.943e-05/2.416, allocations: 29.34 kB / 1.469 GB, free: 144.8 MB / 0.6667 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.00297/2.419, allocations: 1.258 MB / 1.47 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/2.419, allocations: 10.81 kB / 1.47 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/2.419, allocations: 94.06 kB / 1.47 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/2.434, allocations: 6.825 MB / 1.477 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/2.434, allocations: 37.5 kB / 1.477 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/2.434, allocations: 54.56 kB / 1.477 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/2.435, allocations: 491.3 kB / 1.477 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/2.435, allocations: 3.938 kB / 1.477 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/2.435, allocations: 18.75 kB / 1.477 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/2.435, allocations: 15.97 kB / 1.477 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007468/2.436, allocations: 360.5 kB / 1.478 GB, free: 143.6 MB / 0.6667 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.004156/2.44, allocations: 2.676 MB / 1.48 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007403/2.441, allocations: 381.7 kB / 1.481 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/2.441, allocations: 148.4 kB / 1.481 GB, free: 142 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009443/2.442, allocations: 1.435 MB / 1.482 GB, free: 140.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/2.442, allocations: 33.94 kB / 1.482 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=35): time 2.936e-06/2.442, allocations: 3.344 kB / 1.482 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=35): time 0.001108/2.443, allocations: 0.5035 MB / 1.483 GB, free: 140.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/2.443, allocations: 55.28 kB / 1.483 GB, free: 140.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009715/2.444, allocations: 0.6902 MB / 1.483 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/2.444, allocations: 37.23 kB / 1.483 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/2.445, allocations: 329.7 kB / 1.484 GB, free: 140 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/2.445, allocations: 130.6 kB / 1.484 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/2.445, allocations: 6.375 kB / 1.484 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.299e-05/2.445, allocations: 321.1 kB / 1.484 GB, free: 139.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/2.445, allocations: 128.9 kB / 1.484 GB, free: 139.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/2.445, allocations: 217.1 kB / 1.485 GB, free: 139.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/2.446, allocations: 337.5 kB / 1.485 GB, free: 139.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/2.446, allocations: 0 / 1.485 GB, free: 139.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008711/2.447, allocations: 472.7 kB / 1.485 GB, free: 139.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.388e-05/2.447, allocations: 124.5 kB / 1.485 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/2.447, allocations: 10.75 kB / 1.485 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/2.447, allocations: 6.438 kB / 1.485 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/2.447, allocations: 109.2 kB / 1.486 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002567/2.448, allocations: 0.593 MB / 1.486 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006282/2.448, allocations: 64.23 kB / 1.486 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/2.448, allocations: 33.67 kB / 1.486 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/2.448, allocations: 3.094 kB / 1.486 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006652/2.449, allocations: 373.5 kB / 1.487 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/2.449, allocations: 7 kB / 1.487 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-06/2.449, allocations: 6.188 kB / 1.487 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/2.449, allocations: 87.58 kB / 1.487 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/2.449, allocations: 7.281 kB / 1.487 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/2.45, allocations: 69.16 kB / 1.487 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/2.45, allocations: 24.03 kB / 1.487 GB, free: 138.7 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.0003226/2.45, allocations: 275.2 kB / 1.487 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/2.451, allocations: 81.12 kB / 1.487 GB, free: 138.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/2.452, allocations: 0.8158 MB / 1.488 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/2.452, allocations: 7.812 kB / 1.488 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/2.452, allocations: 0.5625 kB / 1.488 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/2.452, allocations: 7.406 kB / 1.488 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/2.454, allocations: 1.426 MB / 1.489 GB, free: 138 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/2.454, allocations: 3.031 kB / 1.489 GB, free: 138 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/2.455, allocations: 87.38 kB / 1.489 GB, free: 138 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/2.455, allocations: 6.922 kB / 1.489 GB, free: 138 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/2.455, allocations: 14.28 kB / 1.489 GB, free: 138 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002017/2.455, allocations: 0.5898 MB / 1.49 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/2.455, allocations: 3.281 kB / 1.49 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/2.456, allocations: 0.9936 MB / 1.491 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/2.457, allocations: 225.1 kB / 1.491 GB, free: 137 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/2.457, allocations: 17.69 kB / 1.491 GB, free: 137 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/2.457, allocations: 35.91 kB / 1.491 GB, free: 137 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/2.457, allocations: 45.97 kB / 1.491 GB, free: 137 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/2.457, allocations: 20.2 kB / 1.491 GB, free: 137 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006528/2.458, allocations: 0.4899 MB / 1.492 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.01e-07/2.458, allocations: 0 / 1.492 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00138/2.459, allocations: 456.6 kB / 1.492 GB, free: 136.9 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.001235/2.461, allocations: 0.6241 MB / 1.493 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001398/2.462, allocations: 0.7404 MB / 1.494 GB, free: 136.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.462, allocations: 2.688 kB / 1.494 GB, free: 136.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004861/2.463, allocations: 347.7 kB / 1.494 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/2.464, allocations: 377 kB / 1.494 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/2.467, allocations: 1.779 MB / 1.496 GB, free: 135.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/2.467, allocations: 0.932 MB / 1.497 GB, free: 135 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007589/2.468, allocations: 210.1 kB / 1.497 GB, free: 135 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/2.468, allocations: 84.16 kB / 1.497 GB, free: 135 MB / 0.6667 GB Notification: Performance of SimCode: time 6.41e-07/2.468, allocations: 0 / 1.497 GB, free: 135 MB / 0.6667 GB Notification: Performance of Templates: time 0.03095/2.499, allocations: 19.65 MB / 1.516 GB, free: 134 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe 2>&1)