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.001047/0.001047, allocations: 108 kB / 16.36 MB, free: 6.285 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.001168/0.001168, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.418/2.418, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 62.33 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3161, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe): time 0.02852/0.3446, allocations: 28.93 MB / 1.055 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009108/0.3538, allocations: 6.794 MB / 1.062 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009252/0.3547, allocations: 39.75 kB / 1.062 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.3558, allocations: 405.1 kB / 1.062 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.359, allocations: 1.314 MB / 1.063 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.3606, allocations: 0.6345 MB / 1.064 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002614/0.3632, allocations: 2.156 MB / 1.066 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007877/0.364, allocations: 0.5438 MB / 1.067 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.3654, allocations: 0.7937 MB / 1.067 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007393/0.3661, allocations: 0.5326 MB / 1.068 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.484e-05/0.3662, allocations: 40 kB / 1.068 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.3679, allocations: 0.9902 MB / 1.069 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.368, allocations: 151.3 kB / 1.069 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003894/0.3684, allocations: 373.9 kB / 1.069 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.37, allocations: 1.238 MB / 1.071 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.37, allocations: 0 / 1.071 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.273e-06/0.37, allocations: 4 kB / 1.071 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.37, allocations: 0 / 1.071 GB, free: 4.977 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.001456/0.3715, allocations: 1.136 MB / 1.072 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3715, allocations: 12.03 kB / 1.072 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.3717, allocations: 91.84 kB / 1.072 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.373, allocations: 0.7844 MB / 1.073 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.373, allocations: 29 kB / 1.073 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.3731, allocations: 40 kB / 1.073 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.3736, allocations: 318.5 kB / 1.073 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3736, allocations: 0 / 1.073 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.3736, allocations: 12 kB / 1.073 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3736, allocations: 8 kB / 1.073 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/0.374, allocations: 243.9 kB / 1.073 GB, free: 2.223 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.001759/0.3758, allocations: 1.453 MB / 1.075 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.376, allocations: 150.4 kB / 1.075 GB, free: 500 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.3761, allocations: 104.8 kB / 1.075 GB, free: 392 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4326/0.8087, allocations: 0.8124 MB / 1.076 GB, free: 56.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.8088, allocations: 35.8 kB / 1.076 GB, free: 56.28 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 2.274e-06/0.8088, allocations: 0 / 1.076 GB, free: 56.28 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.0007994/0.8096, allocations: 307.1 kB / 1.076 GB, free: 56.25 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.8097, allocations: 58.12 kB / 1.076 GB, free: 56.18 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009291/0.8106, allocations: 0.7193 MB / 1.077 GB, free: 56.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.8106, allocations: 31.2 kB / 1.077 GB, free: 56.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.8109, allocations: 362.7 kB / 1.077 GB, free: 55.94 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.8109, allocations: 71.66 kB / 1.077 GB, free: 55.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.8111, allocations: 94.88 kB / 1.077 GB, free: 55.89 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.8111, allocations: 325.7 kB / 1.078 GB, free: 55.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.8113, allocations: 111.4 kB / 1.078 GB, free: 55.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.8116, allocations: 279.7 kB / 1.078 GB, free: 55.35 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.812, allocations: 357.6 kB / 1.078 GB, free: 55.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.812, allocations: 3.531 kB / 1.078 GB, free: 55.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006463/0.8127, allocations: 434.9 kB / 1.079 GB, free: 54.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8127, allocations: 10.25 kB / 1.079 GB, free: 54.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.8127, allocations: 6.219 kB / 1.079 GB, free: 54.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.8128, allocations: 6.703 kB / 1.079 GB, free: 54.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004732/0.8175, allocations: 0.6821 MB / 1.079 GB, free: 54.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000475/0.818, allocations: 1.205 MB / 1.081 GB, free: 53.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.8184, allocations: 48.48 kB / 1.081 GB, free: 53.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.8185, allocations: 20.8 kB / 1.081 GB, free: 53.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002991/0.8188, allocations: 246.3 kB / 1.081 GB, free: 53.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002479/0.819, allocations: 285.5 kB / 1.081 GB, free: 53.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003512/0.8194, allocations: 356.3 kB / 1.081 GB, free: 53.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/0.8194, allocations: 2.875 kB / 1.081 GB, free: 53.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006474/0.8201, allocations: 440.6 kB / 1.082 GB, free: 52.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.8201, allocations: 7.719 kB / 1.082 GB, free: 52.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.8201, allocations: 5.281 kB / 1.082 GB, free: 52.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.8201, allocations: 12.34 kB / 1.082 GB, free: 52.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004598/0.8247, allocations: 0.6828 MB / 1.083 GB, free: 52.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004303/0.8252, allocations: 1.197 MB / 1.084 GB, free: 51.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.8256, allocations: 42.17 kB / 1.084 GB, free: 51.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.8256, allocations: 19.11 kB / 1.084 GB, free: 51.66 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.000119/0.8257, allocations: 211.2 kB / 1.084 GB, free: 51.46 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.8259, allocations: 73.34 kB / 1.084 GB, free: 51.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006388/0.8265, allocations: 387.8 kB / 1.084 GB, free: 51.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.8265, allocations: 4.719 kB / 1.084 GB, free: 51.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8265, allocations: 8 kB / 1.084 GB, free: 51.24 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8265, allocations: 1.406 kB / 1.084 GB, free: 51.24 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.8279, allocations: 0.9946 MB / 1.085 GB, free: 50.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.8279, allocations: 2.062 kB / 1.085 GB, free: 50.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.828, allocations: 32.73 kB / 1.085 GB, free: 50.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.828, allocations: 3.312 kB / 1.085 GB, free: 50.65 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.8281, allocations: 9.594 kB / 1.085 GB, free: 50.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.8281, allocations: 6.109 kB / 1.085 GB, free: 50.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.8281, allocations: 3.641 kB / 1.086 GB, free: 50.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.8286, allocations: 471.1 kB / 1.086 GB, free: 50.33 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.8288, allocations: 170.6 kB / 1.086 GB, free: 50.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/0.8288, allocations: 12.36 kB / 1.086 GB, free: 50.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.8291, allocations: 12.66 kB / 1.086 GB, free: 50.17 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.8292, allocations: 19.36 kB / 1.086 GB, free: 50.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.8292, allocations: 13.69 kB / 1.086 GB, free: 50.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005979/0.8298, allocations: 0.4987 MB / 1.087 GB, free: 49.95 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8298, allocations: 0 / 1.087 GB, free: 49.95 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001084/0.8309, allocations: 386 kB / 1.087 GB, free: 49.89 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.0007003/0.8316, allocations: 388 kB / 1.087 GB, free: 49.77 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01504/0.8466, allocations: 2.234 MB / 1.09 GB, free: 49.54 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.8467, allocations: 5.125 kB / 1.09 GB, free: 49.54 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.8469, allocations: 119.2 kB / 1.09 GB, free: 49.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.8484, allocations: 294 kB / 1.09 GB, free: 49.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.85, allocations: 1.065 MB / 1.091 GB, free: 48.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.8504, allocations: 0.9221 MB / 1.092 GB, free: 48.08 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005679/0.851, allocations: 177.4 kB / 1.092 GB, free: 48.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.8511, allocations: 60.12 kB / 1.092 GB, free: 48.04 MB / 0.8419 GB Notification: Performance of SimCode: time 4.8e-07/0.8511, allocations: 0 / 1.092 GB, free: 48.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.3716/1.223, allocations: 13.77 MB / 1.106 GB, free: 46.43 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 gbode -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1)