Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe") translateModel(Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 103.3 kB / 16.35 MB, free: 5.879 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.001092/0.001092, allocations: 196.8 kB / 17.3 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.498/2.498, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 64.06 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2591, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe): time 0.02762/0.2868, allocations: 28.93 MB / 1.055 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009603/0.2964, allocations: 6.79 MB / 1.062 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008776/0.2973, allocations: 35.81 kB / 1.062 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.2984, allocations: 409.1 kB / 1.062 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.3017, allocations: 1.313 MB / 1.063 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.3034, allocations: 0.6262 MB / 1.064 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002684/0.3061, allocations: 2.153 MB / 1.066 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007595/0.3069, allocations: 0.5477 MB / 1.067 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.3082, allocations: 0.8014 MB / 1.067 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006142/0.3088, allocations: 0.521 MB / 1.068 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.381e-05/0.3089, allocations: 40 kB / 1.068 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.3106, allocations: 0.9941 MB / 1.069 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.3108, allocations: 155.2 kB / 1.069 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.3112, allocations: 377.9 kB / 1.069 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.3128, allocations: 1.238 MB / 1.071 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3128, allocations: 3.938 kB / 1.071 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3128, allocations: 0 / 1.071 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.3128, allocations: 0 / 1.071 GB, free: 4.973 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001549/0.3144, allocations: 1.134 MB / 1.072 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3144, allocations: 12.03 kB / 1.072 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.3145, allocations: 83.91 kB / 1.072 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.3159, allocations: 0.7921 MB / 1.073 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.316, allocations: 25 kB / 1.073 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.316, allocations: 40 kB / 1.073 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.3165, allocations: 326.5 kB / 1.073 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3165, allocations: 0 / 1.073 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.3166, allocations: 16 kB / 1.073 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3166, allocations: 8 kB / 1.073 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.317, allocations: 239.9 kB / 1.073 GB, free: 2.219 MB / 0.8419 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.001892/0.3189, allocations: 1.457 MB / 1.075 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.3191, allocations: 142.5 kB / 1.075 GB, free: 500 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.3193, allocations: 108.8 kB / 1.075 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4285/0.7478, allocations: 0.8193 MB / 1.076 GB, free: 56.26 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.7479, allocations: 31.94 kB / 1.076 GB, free: 56.22 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 3.737e-06/0.7479, allocations: 0.75 kB / 1.076 GB, free: 56.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.0008459/0.7487, allocations: 307.3 kB / 1.076 GB, free: 56.19 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.7488, allocations: 56.72 kB / 1.076 GB, free: 56.13 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009894/0.7498, allocations: 0.7226 MB / 1.077 GB, free: 56 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.7498, allocations: 31.33 kB / 1.077 GB, free: 55.97 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.75, allocations: 356.1 kB / 1.077 GB, free: 55.89 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.7501, allocations: 75.97 kB / 1.077 GB, free: 55.86 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.7502, allocations: 98.28 kB / 1.077 GB, free: 55.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.286e-05/0.7503, allocations: 320.9 kB / 1.078 GB, free: 55.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.7505, allocations: 110.5 kB / 1.078 GB, free: 55.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.7508, allocations: 279 kB / 1.078 GB, free: 55.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.7512, allocations: 351.4 kB / 1.078 GB, free: 55.06 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.7512, allocations: 2.531 kB / 1.078 GB, free: 55.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006418/0.7519, allocations: 438.2 kB / 1.079 GB, free: 54.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.7519, allocations: 9.75 kB / 1.079 GB, free: 54.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.7519, allocations: 5.078 kB / 1.079 GB, free: 54.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.7519, allocations: 7.062 kB / 1.079 GB, free: 54.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004768/0.7567, allocations: 0.6815 MB / 1.079 GB, free: 54.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004686/0.7572, allocations: 1.209 MB / 1.081 GB, free: 53.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.7576, allocations: 44.59 kB / 1.081 GB, free: 53.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.7577, allocations: 24.31 kB / 1.081 GB, free: 53.65 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002945/0.758, allocations: 247.4 kB / 1.081 GB, free: 53.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002414/0.7582, allocations: 285.2 kB / 1.081 GB, free: 53.26 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003403/0.7586, allocations: 360.8 kB / 1.081 GB, free: 53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.7586, allocations: 1.375 kB / 1.081 GB, free: 53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006019/0.7592, allocations: 437.9 kB / 1.082 GB, free: 52.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.7592, allocations: 7.719 kB / 1.082 GB, free: 52.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7592, allocations: 5.797 kB / 1.082 GB, free: 52.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.7592, allocations: 10.16 kB / 1.082 GB, free: 52.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004545/0.7638, allocations: 0.6731 MB / 1.083 GB, free: 52.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004275/0.7642, allocations: 1.21 MB / 1.084 GB, free: 51.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.7647, allocations: 32.89 kB / 1.084 GB, free: 51.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.7647, allocations: 30.45 kB / 1.084 GB, free: 51.6 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.7649, allocations: 207 kB / 1.084 GB, free: 51.4 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.765, allocations: 75.72 kB / 1.084 GB, free: 51.36 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007054/0.7657, allocations: 396.5 kB / 1.084 GB, free: 51.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.7657, allocations: 3.203 kB / 1.084 GB, free: 51.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7657, allocations: 2.766 kB / 1.084 GB, free: 51.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7657, allocations: 0 / 1.084 GB, free: 51.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.7671, allocations: 0.993 MB / 1.085 GB, free: 50.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.7671, allocations: 5.219 kB / 1.085 GB, free: 50.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.7672, allocations: 28.34 kB / 1.085 GB, free: 50.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.7672, allocations: 3.094 kB / 1.085 GB, free: 50.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.7672, allocations: 9.422 kB / 1.085 GB, free: 50.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.7672, allocations: 7.578 kB / 1.085 GB, free: 50.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7672, allocations: 6.688 kB / 1.086 GB, free: 50.58 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.7677, allocations: 468.9 kB / 1.086 GB, free: 50.26 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.7679, allocations: 170.2 kB / 1.086 GB, free: 50.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/0.768, allocations: 11.73 kB / 1.086 GB, free: 50.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.7683, allocations: 11.34 kB / 1.086 GB, free: 50.11 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.7683, allocations: 14.47 kB / 1.086 GB, free: 50.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.7683, allocations: 17.41 kB / 1.086 GB, free: 50.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006131/0.769, allocations: 0.4985 MB / 1.087 GB, free: 49.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.769, allocations: 0 / 1.087 GB, free: 49.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001115/0.7701, allocations: 386.8 kB / 1.087 GB, free: 49.83 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006774/0.7708, allocations: 381.1 kB / 1.087 GB, free: 49.71 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01501/0.7858, allocations: 2.244 MB / 1.09 GB, free: 49.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.7858, allocations: 0.8125 kB / 1.09 GB, free: 49.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.7861, allocations: 118.8 kB / 1.09 GB, free: 49.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.7875, allocations: 294.7 kB / 1.09 GB, free: 49.36 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.7891, allocations: 1.067 MB / 1.091 GB, free: 48.74 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.7895, allocations: 0.9263 MB / 1.092 GB, free: 48.02 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005398/0.79, allocations: 178.9 kB / 1.092 GB, free: 47.99 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.7901, allocations: 52.3 kB / 1.092 GB, free: 47.98 MB / 0.8419 GB Notification: Performance of SimCode: time 8.72e-07/0.7901, allocations: 0 / 1.092 GB, free: 47.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.02557/0.8157, allocations: 13.78 MB / 1.106 GB, free: 46.35 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1)