Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 109.1 kB / 16.41 MB, free: 6.426 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.00163/0.00163, allocations: 190.7 kB / 17.35 MB, free: 5.688 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.421/1.421, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 59.91 kB / 1.07 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.15, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe): time 0.1318/1.282, allocations: 130.1 MB / 1.353 GB, free: 11.02 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.04907/1.331, allocations: 32.07 MB / 1.385 GB, free: 10.88 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007841/1.339, allocations: 135.2 kB / 1.385 GB, free: 10.75 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.006722/1.345, allocations: 1.755 MB / 1.387 GB, free: 8.984 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.02066/1.366, allocations: 5.455 MB / 1.392 GB, free: 3.508 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01257/1.379, allocations: 3.414 MB / 1.395 GB, free: 108 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.07699/1.456, allocations: 44.51 MB / 1.439 GB, free: 3.484 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0386/1.494, allocations: 19.02 MB / 1.457 GB, free: 340 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04305/1.538, allocations: 15.2 MB / 1.472 GB, free: 1.156 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02932/1.567, allocations: 12.13 MB / 1.484 GB, free: 4.98 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.009186/1.576, allocations: 1.789 MB / 1.486 GB, free: 3.191 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02241/1.599, allocations: 4.522 MB / 1.49 GB, free: 14.66 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0108/1.609, allocations: 4.109 MB / 1.494 GB, free: 10.54 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.02856/1.638, allocations: 9.087 MB / 1.503 GB, free: 1.418 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0562/1.694, allocations: 27.55 MB / 1.53 GB, free: 5.781 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/1.694, allocations: 0 / 1.53 GB, free: 5.781 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.796e-06/1.694, allocations: 0 / 1.53 GB, free: 5.781 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.001135/1.696, allocations: 0 / 1.53 GB, free: 5.781 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2245 * Number of variables: 2245 Notification: Performance of Generate backend data structure: time 0.07722/1.773, allocations: 16.89 MB / 1.546 GB, free: 4.734 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.773, allocations: 8.031 kB / 1.546 GB, free: 4.727 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/1.784, allocations: 1.689 MB / 1.548 GB, free: 3.027 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03883/1.823, allocations: 16.18 MB / 1.564 GB, free: 2.75 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007449/1.824, allocations: 0.6459 MB / 1.564 GB, free: 2.102 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004243/1.828, allocations: 0.8824 MB / 1.565 GB, free: 1.223 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.656/3.484, allocations: 13.7 MB / 1.579 GB, free: 299.8 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000386/3.484, allocations: 39.58 kB / 1.579 GB, free: 299.8 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002039/3.487, allocations: 371.7 kB / 1.579 GB, free: 299.5 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003053/3.487, allocations: 266.3 kB / 1.579 GB, free: 299.5 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02782/3.515, allocations: 11.29 MB / 1.59 GB, free: 295.6 MB / 1.279 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.08463/3.599, allocations: 65.37 MB / 1.654 GB, free: 236.4 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00909/3.608, allocations: 5.26 MB / 1.659 GB, free: 231.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005218/3.614, allocations: 3.354 MB / 1.663 GB, free: 227.7 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002263/3.616, allocations: 3.21 MB / 1.666 GB, free: 223.9 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/3.616, allocations: 103 kB / 1.666 GB, free: 223.8 MB / 1.279 GB Notification: Performance of pre-optimization done (n=512): time 7.484e-06/3.616, allocations: 2.375 kB / 1.666 GB, free: 223.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=512): time 0.03521/3.651, allocations: 13.43 MB / 1.679 GB, free: 210.1 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/3.651, allocations: 103.2 kB / 1.679 GB, free: 210 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03254/3.684, allocations: 14.03 MB / 1.693 GB, free: 196.1 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001591/3.686, allocations: 125.7 kB / 1.693 GB, free: 195.9 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.007275/3.693, allocations: 6.092 MB / 1.699 GB, free: 190.3 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.004021/3.697, allocations: 1.917 MB / 1.701 GB, free: 188.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005711/3.703, allocations: 1.388 MB / 1.702 GB, free: 187.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.176e-05/3.703, allocations: 301.1 kB / 1.702 GB, free: 187 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005813/3.709, allocations: 3.223 MB / 1.706 GB, free: 183.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007347/3.716, allocations: 5.192 MB / 1.711 GB, free: 177.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01431/3.73, allocations: 9.042 MB / 1.719 GB, free: 167.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.289e-05/3.73, allocations: 24 kB / 1.719 GB, free: 167.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.03189/3.762, allocations: 11.7 MB / 1.731 GB, free: 156 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.439e-05/3.762, allocations: 32 kB / 1.731 GB, free: 155.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003006/3.763, allocations: 95.97 kB / 1.731 GB, free: 155.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008766/3.772, allocations: 2.418 MB / 1.733 GB, free: 153.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005001/3.777, allocations: 1.326 MB / 1.735 GB, free: 152.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005562/3.782, allocations: 9.041 MB / 1.743 GB, free: 142.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01068/3.793, allocations: 0.9451 MB / 1.744 GB, free: 142 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001712/3.795, allocations: 360 kB / 1.745 GB, free: 141.6 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01522/3.81, allocations: 7.777 MB / 1.752 GB, free: 133.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00832/3.818, allocations: 5.188 MB / 1.757 GB, free: 127.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01548/3.834, allocations: 9.041 MB / 1.766 GB, free: 117.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.124e-05/3.834, allocations: 20.08 kB / 1.766 GB, free: 117.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=865) (initialization_lambda0): time 0.03019/3.864, allocations: 11.69 MB / 1.778 GB, free: 106 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.968e-05/3.864, allocations: 35.94 kB / 1.778 GB, free: 105.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002746/3.864, allocations: 91.97 kB / 1.778 GB, free: 105.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008694/3.873, allocations: 2.421 MB / 1.78 GB, free: 103.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004905/3.878, allocations: 1.326 MB / 1.781 GB, free: 102.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005498/3.884, allocations: 9.037 MB / 1.79 GB, free: 92.73 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01036/3.894, allocations: 0.7256 MB / 1.791 GB, free: 92.11 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001644/3.896, allocations: 359.8 kB / 1.791 GB, free: 91.76 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 274 * 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 (781): * Single equations (assignments): 745 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.003031/3.899, allocations: 0.5915 MB / 1.792 GB, free: 91.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005131/3.904, allocations: 1.192 MB / 1.793 GB, free: 90 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02947/3.933, allocations: 12.73 MB / 1.805 GB, free: 77.45 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01792/3.951, allocations: 9.046 MB / 1.814 GB, free: 68.27 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001828/3.951, allocations: 35.97 kB / 1.814 GB, free: 68.24 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007422/3.959, allocations: 2.869 MB / 1.817 GB, free: 65.44 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004355/3.963, allocations: 148 kB / 1.817 GB, free: 65.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008199/3.972, allocations: 391.1 kB / 1.818 GB, free: 64.92 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001847/3.973, allocations: 0.7693 MB / 1.818 GB, free: 64.15 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02145/3.995, allocations: 10.34 MB / 1.829 GB, free: 53.85 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02488/4.02, allocations: 14.5 MB / 1.843 GB, free: 39.25 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005931/4.026, allocations: 4.191 MB / 1.847 GB, free: 35.04 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01948/4.045, allocations: 9.96 MB / 1.857 GB, free: 25.12 MB / 1.279 GB Notification: Performance of Backend: time 1.162e-06/4.045, allocations: 0 / 1.857 GB, free: 25.12 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03243/4.078, allocations: 12.17 MB / 1.868 GB, free: 12.87 MB / 1.279 GB Notification: Performance of SimCode: time 0.07915/4.157, allocations: 34.28 MB / 1.902 GB, free: 10.61 MB / 1.311 GB Notification: Performance of Templates: time 1.251/5.408, allocations: 296.7 MB / 2.192 GB, free: 0.5163 GB / 1.545 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe 2>&1)