Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7408/0.7408, allocations: 140.1 MB / 156 MB, free: 5.168 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.001011/0.001011, allocations: 182.5 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.472/1.472, allocations: 205.4 MB / 426.3 MB, free: 8.402 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.0009062/0.0009064, allocations: 90.34 kB / 0.4945 GB, free: 8.344 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001623/0.001623, allocations: 271.2 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005602/0.0005602, allocations: 20 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3702, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7757/1.146, allocations: 425.9 MB / 1.155 GB, free: 412 kB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/1.146, allocations: 105.7 kB / 1.156 GB, free: 352 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.07/4.216, allocations: 0.8678 GB / 2.023 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.515e-06/4.216, allocations: 0 / 2.023 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000257/4.216, allocations: 41.42 kB / 2.023 GB, free: 73.91 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.00645/4.223, allocations: 2.21 MB / 2.026 GB, free: 72.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/4.223, allocations: 10.62 kB / 2.026 GB, free: 72.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/4.225, allocations: 398.8 kB / 2.026 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01744/4.242, allocations: 7.948 MB / 2.034 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/4.243, allocations: 81.67 kB / 2.034 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004226/4.243, allocations: 103.4 kB / 2.034 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/4.246, allocations: 1.234 MB / 2.035 GB, free: 71.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/4.246, allocations: 10.81 kB / 2.035 GB, free: 71.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/4.246, allocations: 51.27 kB / 2.035 GB, free: 71.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/4.246, allocations: 33.09 kB / 2.035 GB, free: 71.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/4.248, allocations: 0.9505 MB / 2.036 GB, free: 71.9 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.008978/4.257, allocations: 7.001 MB / 2.043 GB, free: 67.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/4.259, allocations: 0.8277 MB / 2.044 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/4.26, allocations: 404.5 kB / 2.044 GB, free: 67.56 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/4.261, allocations: 1.778 MB / 2.046 GB, free: 65.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009115/4.262, allocations: 475 kB / 2.046 GB, free: 65.53 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.907e-06/4.262, allocations: 0 / 2.046 GB, free: 65.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002806/4.265, allocations: 1.197 MB / 2.047 GB, free: 65.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/4.265, allocations: 88.11 kB / 2.048 GB, free: 65.31 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/4.267, allocations: 1.268 MB / 2.049 GB, free: 65.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/4.267, allocations: 44.11 kB / 2.049 GB, free: 65.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006327/4.268, allocations: 0.7202 MB / 2.05 GB, free: 64.85 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/4.268, allocations: 260.4 kB / 2.05 GB, free: 64.69 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/4.268, allocations: 16.28 kB / 2.05 GB, free: 64.69 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/4.268, allocations: 339.9 kB / 2.05 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007125/4.269, allocations: 337.2 kB / 2.05 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008515/4.27, allocations: 0.611 MB / 2.051 GB, free: 64.06 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/4.272, allocations: 0.9433 MB / 2.052 GB, free: 63.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/4.272, allocations: 0 / 2.052 GB, free: 63.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002456/4.274, allocations: 1.118 MB / 2.053 GB, free: 63.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001789/4.274, allocations: 304 kB / 2.053 GB, free: 63.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/4.274, allocations: 9.594 kB / 2.053 GB, free: 63.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.334e-05/4.274, allocations: 19.91 kB / 2.053 GB, free: 63.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/4.275, allocations: 218.3 kB / 2.054 GB, free: 63.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.947e-05/4.275, allocations: 23.7 kB / 2.054 GB, free: 63.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/4.277, allocations: 169.2 kB / 2.054 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/4.277, allocations: 51.3 kB / 2.054 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/4.277, allocations: 3.312 kB / 2.054 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001852/4.279, allocations: 0.948 MB / 2.055 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/4.279, allocations: 10.38 kB / 2.055 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/4.279, allocations: 17.86 kB / 2.055 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/4.28, allocations: 217.6 kB / 2.055 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/4.28, allocations: 14.97 kB / 2.055 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/4.281, allocations: 171.7 kB / 2.055 GB, free: 63.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/4.281, allocations: 45.62 kB / 2.055 GB, free: 63.22 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.0009675/4.282, allocations: 420.4 kB / 2.056 GB, free: 63.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004258/4.283, allocations: 147 kB / 2.056 GB, free: 62.95 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/4.286, allocations: 1.435 MB / 2.057 GB, free: 62.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/4.286, allocations: 19.03 kB / 2.057 GB, free: 62.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/4.286, allocations: 0 / 2.057 GB, free: 62.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001754/4.287, allocations: 1.227 MB / 2.058 GB, free: 62.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00515/4.293, allocations: 2.663 MB / 2.061 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/4.293, allocations: 5.094 kB / 2.061 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006982/4.293, allocations: 170.8 kB / 2.061 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/4.293, allocations: 9.719 kB / 2.061 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.769e-05/4.293, allocations: 27.86 kB / 2.061 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/4.293, allocations: 5.906 kB / 2.061 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/4.293, allocations: 3.938 kB / 2.061 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003106/4.297, allocations: 1.848 MB / 2.063 GB, free: 61.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009667/4.298, allocations: 372.1 kB / 2.063 GB, free: 61.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004/4.298, allocations: 29.09 kB / 2.063 GB, free: 61.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/4.299, allocations: 112.5 kB / 2.063 GB, free: 61.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/4.299, allocations: 68.75 kB / 2.064 GB, free: 61.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.013e-05/4.299, allocations: 42.98 kB / 2.064 GB, free: 61.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001608/4.301, allocations: 0.8599 MB / 2.064 GB, free: 61.49 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.51e-07/4.301, allocations: 0 / 2.064 GB, free: 61.49 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003413/4.305, allocations: 0.8841 MB / 2.065 GB, free: 61.37 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 (96): * Single equations (assignments): 79 * 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.002767/4.307, allocations: 1.281 MB / 2.067 GB, free: 61.06 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003144/4.31, allocations: 1.56 MB / 2.068 GB, free: 60.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/4.31, allocations: 0 / 2.068 GB, free: 60.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00099/4.311, allocations: 0.5998 MB / 2.069 GB, free: 60.85 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/4.316, allocations: 0.6389 MB / 2.069 GB, free: 60.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007647/4.323, allocations: 3.599 MB / 2.073 GB, free: 59.35 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/4.324, allocations: 1.254 MB / 2.074 GB, free: 58.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002017/4.326, allocations: 404.6 kB / 2.074 GB, free: 58.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/4.327, allocations: 142.4 kB / 2.075 GB, free: 58.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.793e-06/4.327, allocations: 1.438 kB / 2.075 GB, free: 58.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.05346/4.38, allocations: 33.24 MB / 2.107 GB, free: 56.28 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)